void Awake() { QualitySettings.vSyncCount = 0; Application.targetFrameRate = 30; GameplayUI.SetActive(false); MainMenuUI.SetActive(false); FrontScreenUI.SetActive(true); }
public void StartGame() { GameplayUI.SetActive(true); FrontScreenUI.SetActive(false); MainMenuUI.SetActive(false); Stats = new GameManagerClass(); currentGrid = Instantiate(Grid, new Vector3(0, 10, 0), Quaternion.identity); currentGrid.name = "Grid"; }
public void OpenMenu() { GameplayUI.SetActive(false); FrontScreenUI.SetActive(false); MainMenuUI.SetActive(true); }