private void Paused() { pause = true; playerShot.StopAim(); Time.timeScale = 0f; menuPause.SetActive(true); enemyCreator.SetSpawn(false); }