public void Resume() { cursorLockScript.Lock(); Time.timeScale = 1.0f; pauseMenu.SetActive(false); tray.GetComponent <TrayCheckpointMovement>().enabled = true; }
public void OnPlayAgainButtonClicked() { Time.timeScale = 1.0f; LockCursor.Lock(); m_endGameScreen.SetActive(false); SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex); }
public void OnResumeButtonClicked() { Time.timeScale = 1.0f; LockCursor.Lock(); m_pauseScreen.SetActive(false); }