public void OnPlayerKilled() { playerStart.SpawnPlayer(); bgm.Play(); win.Stop(); winPanel.gameObject.SetActive(false); }