Example #1
0
 /// <summary>
 /// 重新启动某个timer
 /// </summary>
 /// <param name="timer"></param>
 public void ReStartTimer(TimeNotifier.Timer timer)
 {
     if (timer != null)
     {
         this.timeNotifier.ReStartTimer(timer);
     }
     else
     {
         Debug.LogError("ReStartTimer timer can't be null");
     }
 }
Example #2
0
 /// <summary>
 /// Stop a specify timer.
 /// </summary>
 /// <param name="timer">The timer to be stopped.</param>
 public void StopTimer(TimeNotifier.Timer timer)
 {
     if (timer != null)
     {
         this.timeNotifier.StopTimer(timer);
     }
     else
     {
         Debug.LogError("StopTimer timer can't be null");
     }
 }