private void MoveToNearestWeapon() { if (nearestLootable.Exists()) { NavPath.Move(ref agent, ref currentDestination, ref directionGuide, nearestLootable.transform.position); } }
private void MoveToNearestEnemy() { if (nearestEnemy.Exists()) { NavPath.Move(ref agent, ref currentDestination, ref directionGuide, nearestEnemy.transform.position); } }
private void Move() { NavPath.Move(ref agent, ref currentDestination, ref directionGuide); }