Wie Co-Routine zu stoppen?

Wie stoppen Sie die erste Co-Routine, wenn zwei Co-Routinen ausgeführt werden?

GLOBALS.stableTime = 5;

IEnumerator StableWaittingTime ()
{
        yield return new WaitForSeconds (1f);
        if (GLOBALS.stableTime == 0) {
                GameManager.instance.LevelFaildMethod ();
        } else {
                GameManager.instance.stableWaittingTime.text = GLOBALS.stableTime.ToString ();
                GLOBALS.stableTime--;
                StartCoroutine ("StableWaittingTime");
        }
}

Antworten auf die Frage(2)

Ihre Antwort auf die Frage