示例#1
0
 public override IEnumerator OnRemoveFromStack()
 {
     if (eventSequence != 0)
     {
         ILRTimerManager.instance.RemoveTimer(eventSequence);
     }
     if (curDailyCell != null)
     {
         curDailyData.IsSelected = false;
         curDailyCell.SetSelectStatus(false);
     }
     LTRedPointSystem.Instance.RemoveRedPointNodeCallBack(RedPointConst.dailyact, SetDailyRP);
     LTRedPointSystem.Instance.RemoveRedPointNodeCallBack(RedPointConst.limitact, SetLimitRP);
     DestroySelf();
     yield break;
 }
示例#2
0
        public void OnDailyItemClick(LTDailyCell cell)
        {
            if (curDailyCell != null)
            {
                if (curDailyCell == cell)
                {
                    return;
                }
                curDailyData.IsSelected = false;
                curDailyCell.SetSelectStatus(false);
            }
            curDailyCell            = cell;
            curDailyData            = cell.GetDailyData();
            curDailyData.IsSelected = true;
            curDailyCell.SetSelectStatus(true);

            curActData = curDailyData.ActivityData;
            InitBase();
        }