public void LoadNext() { index++; if (panel[index] == null) { return; } Time.timeScale = 0; panel[index].SetActive(true); if (colorHudInstance != null) { colorHudInstance.NoColor(); } if (panel[index - 1] == null) { return; } else { panel[index - 1].SetActive(false); } }
void Start() { gameOver = false; tutorialManager = this; colorHudInstance = ColorHUD.instance; colorHudInstance.NoColor(); LoadFirst(); //Invoke("CheckLastMinion", 1); }