public void GoToNearestAmbushAround(Vector3 pos) { GameObject waypoint = waypointGraph.FindNearestAmbushPoint(pos, pos, assignedLane, team.playerTeam); targetArea = waypoint.GetComponent <SphereCollider>(); GoToTarget(waypoint.transform); }
public void GoToNearestAmbushAround(Vector3 pos) { GameObject waypoint = waypointGraph.FindNearestAmbushPoint(pos, pos, assignedLane, team.playerTeam); targetArea = waypoint.GetComponent <SphereCollider>(); GoToTarget(waypoint.transform); }