Exemplo n.º 1
0
    IEnumerator Super2()
    {
        yield return(new WaitForSeconds(superTime));

        rightPlayer.CancelInvoke();
        rightPlayer.Resume();

        yield return(new WaitForSeconds(2));

        isSuper = false;
    }