> For the complete documentation index, see [llms.txt](https://simpletrafficsystem.turnthegameon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://simpletrafficsystem.turnthegameon.com/documentation/api.md).

# API

- [AITrafficCar](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficcar.md): Primary component used on AITrafficCar prefabs, controlled by the AITrafficController.
- [AITrafficController](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficcontroller.md): Controls logic and movement for AITrafficCars using the Job System and Burst Compiler.
- [AITrafficLight](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficlight.md): The tutorial workflow has this component controlled by AITrafficLightManager, but you can also write your own scripts to control a light for a route.
- [AITrafficLightManager](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficlightmanager.md): Controls groups of AITrafficLights for an intersection.
- [AITrafficStop](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficstop.md): The tutorial workflow has this component controlled by AITrafficStopManager, but you can also write your own scripts to control a stop for a route.
- [AITrafficStopManager](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficstopmanager.md): Controls groups of AITrafficStops for an intersection.
- [AITrafficWaypoint](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficwaypoint.md): When the car reaches each waypoint, a variety of settings can be configured, like setting a new speed limit, stop driving, move to a new route, trigger custom events, and more.
- [AITrafficWaypointRoute](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficwaypointroute.md): Holds an array of waypoints used for path-finding, updating car settings, and triggering events.
- [AITrafficWaypointRouteInfo](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficwaypointrouteinfo.md): Controls if cars can exit route, or if yield trigger is active requiring cross traffic to stop.
- [SplineRouteCreator](https://simpletrafficsystem.turnthegameon.com/documentation/api/splineroutecreator.md): Generates multiple AI Traffic Waypoint Routes and their Waypoints along a spline.
