public void ToggleOverlay(int id) { if (id == 1) { Overlay1.SetActive(true); } else if (id == 2) { Overlay1.SetActive(false); Overlay2.SetActive(true); } else if (id == 3) { Overlay2.SetActive(false); Overlay3.SetActive(true); } }
public void GameoverUI() { _GameplayPanel.SetActive(false); Overlay3.SetActive(false); }