Ejemplo n.º 1
0
        public override void onShowed()
        {
            InterfaceMgr.getInstance().changeState(InterfaceMgr.STATE_FUNCTIONBAR);
            this.tip.SetActive(false);
            a3_awardCenter.instan = this;
            BaseProxy <welfareProxy> .getInstance().sendWelfare(welfareProxy.ActiveType.selfWelfareInfo, 4294967295u);

            bool flag = this._current != null;

            if (flag)
            {
                this._current.onShowed();
            }
            else
            {
                this._tabControl.setSelectedIndex(0, false);
                this.OnSwitch(this._tabControl);
            }
            GRMap.GAME_CAMERA.SetActive(false);
        }
Ejemplo n.º 2
0
 public override void onClosed()
 {
     InterfaceMgr.getInstance().changeState(InterfaceMgr.STATE_NORMAL);
     GRMap.GAME_CAMERA.SetActive(true);
     a3_awardCenter.instan = null;
 }