private IEnumerator AddLearningPointWhenDeath() { yield return(new WaitUntil(() => isDeath)); playerInfo.AddLearningPoint(); yield return(new WaitForSeconds(5.0f)); enabled = false; Destroy(brain.gameObject); Theme.ChangeBGM(BGM.Field); }