public void Pausegame() { sound.ButtonSound(); sound.PauseMusic(); Time.timeScale = 0f; // unity saját idő mérője 0-megál, 1 normál pausemenu.SetActive(true); }