public void SetCharge(ChargeUI cui, NumMoney nm) { chargeUI = cui; numMoney = nm; Name.text = string.Format("[ff9500]晶石 *{0} {1}元[-]", numMoney.num, numMoney.money); }
public static void Charge(NumMoney nm) { if (inTransaction) { Debug.LogError("InCharing"); return; } inTransaction = true; lastCharge = nm; SimpleIAP.GetInstance().ChargeItem(nm.itemId); }