예제 #1
0
 private void OnTriggerExit(Collider other)
 {
     if (other.CompareTag(reqierdTag))
     {
         objectsInFOV.Remove(other.gameObject);
     }
 }
예제 #2
0
 private void OnTriggerExit(Collider other)
 {
     if (PathedCondition(other))
     {
         enemiesInAttackRange.Remove(other.gameObject);
     }
 }
예제 #3
0
        private void OnDisable()
        {
            if (!container)
            {
                return;
            }

            container.Remove(gameObject);
        }