예제 #1
0
파일: GameShopUI.cs 프로젝트: foxgame/Sword
    public void updateText()
    {
        if (shopUI.Enabled)
        {
            itemText.text = shopUI.getItemDes();
        }
        else
        {
            itemText.text = bagUI.getItemDes();
        }

        moneyText.text = GameDefine.getBigInt(GameUserData.instance.Gold.ToString());

        if (bagUI.itemFull())
        {
            shopUI.enableAll(false);
        }
    }