public static void TrocarCena(int cena) { switch (cena) { case 0: { SceneManager.cena = new Level(); cenaAtual = CENA.CENA_LEVEL; break; } case 1: { SceneManager.cena = new GameOver(); cenaAtual = CENA.CENA_GAMEOVER; break; } case 2: { SceneManager.cena = new Opening(); cenaAtual = CENA.CENA_ABERTURA; break; } } }
public static void Setup() { textScene = "Opening's Scene"; SceneManager.cena = new Opening(); cenaAtual = CENA.CENA_ABERTURA; }