protected override bool SetupView() { this._reviveContext.SetActive(false); this._rechargeTab = base.view.transform.Find("Dialog/RechargeTab").GetComponent <MonoShopRechargeTab>(); this._rechargeTab.SetupView(); base.view.transform.Find("Dialog/CartInfoPanel/Info").gameObject.SetActive(false); return(false); }
private bool OnSelectRechargeItem(string productID) { Transform transform = base.view.transform.Find("RechargeTab"); if (transform != null) { MonoShopRechargeTab component = transform.GetComponent <MonoShopRechargeTab>(); if (component != null) { component.OnSelectProduct(productID); } } return(false); }
private void DoBuyHcoin() { this.RecordPlayerLevel(); if (this._tabManager.GetShowingTabKey() == "RechargeTab") { Transform transform = base.view.transform.Find("RechargeTab"); if (transform != null) { MonoShopRechargeTab component = transform.GetComponent <MonoShopRechargeTab>(); if (component != null) { component.OnPucharseProduct(); } } } }