public void Pause() { OnPause?.Invoke(true); _isPaused = true; Time.timeScale = 0; _pauseMenu.SetActive(true); Cursor.lockState = CursorLockMode.None; }
private void Pause() { OnPause?.Invoke(); }