예제 #1
0
        public void SetCharge(ChargeUI cui, NumMoney nm)
        {
            chargeUI = cui;
            numMoney = nm;

            Name.text = string.Format("[ff9500]晶石 *{0}    {1}元[-]", numMoney.num, numMoney.money);
        }
예제 #2
0
        public static void Charge(NumMoney nm)
        {
            if (inTransaction)
            {
                Debug.LogError("InCharing");
                return;
            }

            inTransaction = true;
            lastCharge    = nm;
            SimpleIAP.GetInstance().ChargeItem(nm.itemId);
        }