Beispiel #1
0
 private IEnumerator <float> Stopwatch(CommandSender sender)
 {
     for (int i = 3; i > 0; i--)
     {
         sender.RAMessage($"Stopwatch starting in {i} seconds...");
         yield return(Timing.WaitForSeconds(1));
     }
     sender.RAMessage($"Stopwatch started!");
     stopWatch.Start();
 }