public void OnTriggerExit(Collider other) { if (other.gameObject.tag == "Player") { if (mapMgr != null) { mapMgr.TriggerMonsterBorn(this, triggerWave); } } }