/// <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; }