IEnumerator Over() { print("Game Over"); PlayerData.Instance.currentState = GameState.OVER; yield return(new WaitForSeconds(1.3f)); if (!_uiGamePanel) { GetGamePanel(); } _uiGamePanel.OpenOverPanel(); // 게임 오버창 띄움 SoundManager.instance.StopBGM(); }