Ejemplo n.º 1
0
 void OnTriggerExit(Collider collision)
 {
     if (AIScript.compatibilityChecker(collision.gameObject, AIScript.charType))
     {
         AIScript.mRemove(AIScript.TargetFromGameObject(AIScript.targets, collision.gameObject));
         if (AIScript.targets.Count == 0)
         {
             AIScript.meleeAttacking  = false;
             AIScript.rangedAttacking = false;
             AIScript.Agrivated       = false;
         }
     }
 }