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; }
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(); }