Class MainRoadBehaviour
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
Marks a Road spline as part of the main road network. At Start(), reads spline knots and registers them as waypoints in MainPathBehaviour.Waypoints so GoToArea() navigation works.
Add this component to Road SplineMarker GOs (via +MainRoadBehaviour in ink). The road spline endpoints must align with neighboring area road splines for the waypoint chain to connect properly.
public class MainRoadBehaviour : MonoBehaviour
- Inheritance
-
objectMainRoadBehaviour
Fields
- AllRoads
All MainRoadBehaviour instances in the scene, ordered by registration.