Example #1
0
        public void ResetRoot()
        {
            Root.gameObject.SetActive(true);
            TokenUI tokenUI = Global.gApp.gUiMgr.GetPanelCompent <TokenUI>(Wndid.TokenUI);

            tokenUI?.SetBgImageActive(false);
        }
Example #2
0
        public override void Recycle()
        {
            base.Recycle();
            TokenUI tokenUI = Global.gApp.gUiMgr.GetPanelCompent <TokenUI>(Wndid.TokenUI);

            tokenUI?.SetBgImageActive(true);
        }
Example #3
0
        public override void Release()
        {
            UnRegisterListeners();
            base.Release();
            TokenUI tokenUI = Global.gApp.gUiMgr.GetPanelCompent <TokenUI>(Wndid.TokenUI);

            tokenUI?.SetBgImageActive(true);
        }
Example #4
0
        public override void Init <T>(string name, UIInfo info, T arg)
        {
            base.Init(name, info, arg);

            ShowTaskInfo();
            TokenUI tokenUI = Global.gApp.gUiMgr.GetPanelCompent <TokenUI>(Wndid.TokenUI);

            tokenUI?.SetBgImageActive(false);
        }