Beispiel #1
0
 public void UnsubscribeFromScoutingTimerEnd(PPData.DataAction dataAction)
 {
     if (HasScoutingTimer)
     {
         scoutingTimer.UnsubscribeFromTimeUp(dataAction);
     }
 }
Beispiel #2
0
 protected override void unsubscribeEvents()
 {
     base.unsubscribeEvents();
     if (dailyGiftTimer != null)
     {
         dailyGiftTimer.UnsubscribeFromTimeChange(handleDailyGiftCountDownChange);
         dailyGiftTimer.UnsubscribeFromTimeUp(makeDailyGiftAvailableToRedeem);
     }
 }
Beispiel #3
0
 protected override void cleanupReferences()
 {
     base.cleanupReferences();
     feedingTimer.UnsubscribeFromTimeBegin(handleFeedingTimeBegin);
     feedingTimer.UnsubscribeFromTimeUp(handleFeedingTimeUp);
 }