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