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
AITrafficLightManager
Controls groups of AITrafficLights for an intersection.
On Start will set all AITrafficLights assigned to red, then begin the configured sequence.
Variables
trafficLightCycles
Array of AITrafficLightCycles played as a looped sequence.
AITrafficLightCycle
Variables
greenTimer
Green light duration.
yellowTimer
Yellow light duration.
redTimer
Red light duration.
trafficLights
Array of AITrafficLights that follow this sequence.
Previous
AITrafficLight
Next
AITrafficStop
Last modified
1yr ago
Copy link
Contents
AITrafficLightCycle