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.

Last updated