void OnTriggerExit(Collider other) { if (other.tag == "Player" && MusicType == MusicBorderType.Woods) { if (!bMusic.returnBoundaryState()) { StartCoroutine(bMusic.EnteringTheWoods()); bMusic.WoodsEnter(); } } else if (other.tag == "Player" && MusicType == MusicBorderType.Castle) { if (!bMusic.returnBoundaryState()) { StartCoroutine(bMusic.EnteringTheCastle()); bMusic.CastleEnter(); } } }