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); } }