void Awake() { if (instance == null) { instance = this; } else { Destroy(gameObject); } }
public void GameOver() { Time.timeScale = 0f; YouLose.SetActive(true); }