Ejemplo n.º 1
0
 public NodeStates InCombatRange()
 {
     if (tWeapon != null)
     {
         if (tWeapon.InCombat(aggroDistance))
         {
             enemyPos = tWeapon.closestEnemy.transform.position;
             return(NodeStates.success);
         }
     }
     return(NodeStates.fail);
 }