コード例 #1
0
 public void UnsubscribeFromScoutingTimerChange(PPData.DataActionf dataAction)
 {
     if (HasScoutingTimer)
     {
         scoutingTimer.UnsubscribeFromTimeChange(dataAction);
     }
 }
コード例 #2
0
 protected override void unsubscribeEvents()
 {
     base.unsubscribeEvents();
     if (dailyGiftTimer != null)
     {
         dailyGiftTimer.UnsubscribeFromTimeChange(handleDailyGiftCountDownChange);
         dailyGiftTimer.UnsubscribeFromTimeUp(makeDailyGiftAvailableToRedeem);
     }
 }