private void OnTriggerExit(Collider other) { if (other.CompareTag(reqierdTag)) { objectsInFOV.Remove(other.gameObject); } }
private void OnTriggerExit(Collider other) { if (PathedCondition(other)) { enemiesInAttackRange.Remove(other.gameObject); } }
private void OnDisable() { if (!container) { return; } container.Remove(gameObject); }