コード例 #1
0
 /// <summary>
 /// Constructs a countdown.
 /// </summary>
 /// <param name="routine">The Coroutine function to call in order to start.</param>
 /// <param name="callingScript">The MonoBehaviour to run the Coroutine with.</param>
 public Countdown(CountdownFunction routine, MonoBehaviour callingScript)
 {
     this.routine = routine;
     this.callingScript = callingScript;
 }
コード例 #2
0
 /// <summary>
 /// Constructs a countdown.
 /// </summary>
 /// <param name="routine">The Coroutine function to call in order to start.</param>
 /// <param name="callingScript">The MonoBehaviour to run the Coroutine with.</param>
 public Countdown(CountdownFunction routine, MonoBehaviour callingScript)
 {
     this.routine       = routine;
     this.callingScript = callingScript;
 }