예제 #1
0
 void Pause()
 {
     player.UnlockCursor();
     pauseMenuUI.SetActive(true);
     Time.timeScale = 0f;
     GameIsPaused   = true;
 }