private void CloseAllTabs() { ResetMainMenu(); MainMenuTab.SetActive(false); CreateTab.SetActive(false); RoomsTab.SetActive(false); DivisionsTab.SetActive(false); theTitle.SetActive(false); statTab.SetActive(false); quitTab.SetActive(false); settingsTab.SetActive(false); FindObjectOfType <AudioManager>().Play("ButtonClick"); }
public void OpenCreateTab() { CloseAllTabs(); CreateTab.SetActive(true); }