Simple Traffic System
Search…
Simple Traffic System
Project Setup
Tutorials
FAQ
Quick Start Guide
Video Tutorials
Documentation
API
AITrafficCar
AITrafficController
AITrafficLight
AITrafficLightManager
AITrafficStop
AITrafficStopManager
AITrafficWaypoint
AITrafficWaypointRoute
AITrafficWaypointRouteInfo
SplineRouteCreator
Asset Integrations
Demo Scenes
Prefabs
STS Tools Window
Demos
PC
WebGL
Links
Asset Store
Discord
Email
Unity Discussion Forum
YouTube
Powered By
GitBook
AITrafficStopManager
Controls groups of AITrafficStops for an intersection.
On Start will set all AITrafficStops to stop, then begin the configured sequence.
Variables
stopCycles
Array of AITrafficStopCycles played as a looped sequence.
AITrafficStopCycle
Variables
activeTime
Amount of time cars are allowed to proceed before next cycle.
waitTime
Amount of time before next cycle becomes active.
trafficStops
Array of AITrafficLights that follow this sequence.
Previous
AITrafficStop
Next
AITrafficWaypoint
Last modified
1yr ago
Copy link
Contents
AITrafficStopCycle