private void OnTriggerExit(Collider other) { if (other.gameObject.tag == "Player") { if (mapMgr != null) { mapMgr.ActiveTriggerMonster(waveID); this.gameObject.GetComponent <BoxCollider>().isTrigger = false; } } }
private void OnTriggerExit(Collider other) { if (other.gameObject.tag == "Player") { if (mapMgr != null) { mapMgr.ActiveTriggerMonster(waveID); this.gameObject.GetComponent <BoxCollider>().isTrigger = false; } } }