public void Win() { Debug.Log("The player finished the game"); inGameUI.LoadWinningScreen(); isGamePlaying = false; //Time.timeScale = 0.1f; }