public void PauseGame() { pausePanel.SetVisible(true); imageFade.visible = true; Time.timeScale = 0; }