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); }
void CallRechargeFunction(RechargeInstanse.PayType type) { RechargeInstanse.Instance.rechargeSuccessDelegate = makeSuerDelegate; RechargeInstanse.Instance.rechargeFailDelegate = deleteDelegate; RechargeInstanse.Instance.RechargeMoneyFunction(type); }