Example #1
0
 void Pause()
 {
     bgm.pause();
     Cursor.visible   = true;
     Cursor.lockState = CursorLockMode.None;
     pauseMenuUI.SetActive(true);
     Time.timeScale = 0f;
     GameIsPaused   = true;
 }