Exemple #1
0
        public override IEnumerator OnAddToStack()
        {
            LTRedPointSystem.Instance.AddRedPointNodeCallBack(RedPointConst.otherSetting, FrameRPFunc);
            yield return(base.OnAddToStack());

            if (HeadFrameEvent.InitEvent != null)
            {
                HeadFrameEvent.InitEvent();
            }
        }
Exemple #2
0
        public void OnBtnClick()
        {
            string temp = string.Format("{0}_{1}", ItemData.id, ItemData.num);

            if (RedPoint.activeSelf && !LTGameSettingManager.Instance.HasFrame(temp))
            {
                LTGameSettingManager.Instance.ClickFrame(temp);
            }
            if (ItemData == null || isCurSelect())
            {
                return;
            }

            if (HeadFrameEvent.SelectEvent != null)
            {
                HeadFrameEvent.SelectEvent(ItemData.id, ItemData.num, isLock());
            }
        }