Beispiel #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);
 }
Beispiel #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);
        }
Beispiel #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();
             }
         }
     }
 }