Beispiel #1
0
    private IEnumerator OnDead()
    {
        yield return(new WaitForSeconds(0.4f));

        usablePilot.Destroy();
        usablePlane.Destroy();
        winSystem.EnableDeathWindow();
        Time.timeScale = 0;
    }