public void GameOver() { GameTrigger.gameOver = true; GameTrigger.isEventScene = true; playerUI.SetActive(false); BGMManager.Instance.Stop(); //Idea:敵がプレイヤーを殴るシーン messageController.SetMessagePanel(MessageText.GameOver()); StartCoroutine(waitCloseMessageUI(() => { SceneManager.LoadScene("GameOverScene"); })); }