Пример #1
0
 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);
 }
Пример #2
0
        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);
        }
Пример #3
0
 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();
             }
         }
     }
 }