void Start()
 {
     mInstance = this;
 }
 public void InitTipType(RechargeInstanse.PayType type)
 {
     chooseType = type;
     labelDes.GetComponent<UILabel>().text = ConstantString.LevelCostTitle[(int)type -3];
 }
 void Awake()
 {
     mInstance = this;
     DontDestroyOnLoad(transform.gameObject);
 }
Пример #4
0
 void CallRechargeFunction(RechargeInstanse.PayType type)
 {
     RechargeInstanse.Instance.rechargeSuccessDelegate = makeSuerDelegate;
     RechargeInstanse.Instance.rechargeFailDelegate = deleteDelegate;
     RechargeInstanse.Instance.RechargeMoneyFunction(type);
 }