Exemplo n.º 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;
 }
Exemplo n.º 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();
        }