public void SuccessBuyProduct(ResponseBuyProducts resp) { InfoPanel.gameObject.SetActive(true); Info.text = string.Format("購買 {0} 成功 \n 交易時間:{1} \n 交易訂單:{2}", resp.Product.Name, resp.CreateAt, resp.RecordId); Datacenter.Instance.Money = resp.User.Money; Money.text = resp.User.Money.ToString(); IsBusy = false; }
public void SuccessBuyProduct(ResponseBuyProducts resp) { }