Exemplo n.º 1
0
 /// <summary>
 /// Stop the specified routine.
 /// </summary>
 /// <returns>True if the routine was actually stopped.</returns>
 /// <param name="routine">The routine to stop.</param>
 public bool Stop(CoroutineHandle routine)
 {
     return(routine.Stop());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Check if the routine is currently running.
 /// </summary>
 /// <returns>True if the routine is running.</returns>
 /// <param name="routine">The routine to check.</param>
 public bool IsRunning(CoroutineHandle routine)
 {
     return(routine.IsRunning);
 }