Class VehiclePatrolRoute
Represents a vehicle patrol route with waypoints for police vehicles to follow.
public sealed class VehiclePatrolRoute
- Inheritance
-
VehiclePatrolRoute
- Inherited Members
- Extension Methods
Properties
Position
Gets the position of the route object itself.
public Vector3 Position { get; }
Property Value
- Vector3
RouteName
Gets the name of this patrol route.
public string RouteName { get; }
Property Value
StartWaypointIndex
Gets the starting waypoint index for this route.
public int StartWaypointIndex { get; }
Property Value
WaypointCount
Gets the number of waypoints in this route.
public int WaypointCount { get; }
Property Value
Methods
GetWaypointPosition(int)
Gets the position of a waypoint at the specified index.
public Vector3 GetWaypointPosition(int index)
Parameters
indexintThe waypoint index.
Returns
- Vector3
The waypoint position, or Vector3.zero if invalid index.