Property | Type | Description | |
---|---|---|---|
CurrentMode | Mode |
Method | Description | |
---|---|---|
ChangeLightLeft ( ) : void | ||
ChangeLightMain ( ) : void | ||
ChangeLightRight ( ) : void | ||
ChangeMode ( ) : void | ||
Clone ( ) : object | ||
CustomSegmentLight ( |
||
CustomSegmentLight ( |
||
GetLightLeft ( ) : RoadBaseAI.TrafficLightState | ||
GetLightMain ( ) : RoadBaseAI.TrafficLightState | ||
GetLightRight ( ) : RoadBaseAI.TrafficLightState | ||
InvertLight ( RoadBaseAI light ) : RoadBaseAI.TrafficLightState | ||
UpdateVisuals ( ) : void | ||
invert ( ) : void | ||
isAnyGreen ( ) : bool | ||
isForwardGreen ( ) : bool | ||
isLeftGreen ( ) : bool | ||
isRightGreen ( ) : bool |
Method | Description | |
---|---|---|
MakeRed ( ) : void | ||
MakeRedOrGreen ( ) : void | ||
_checkPedestrianLight ( ) : RoadBaseAI.TrafficLightState |
public CustomSegmentLight ( |
||
lights | ||
nodeId | ushort | |
segmentId | ushort | |
mainLight | RoadBaseAI | |
return | System |
public CustomSegmentLight ( |
||
lights | ||
nodeId | ushort | |
segmentId | ushort | |
mainLight | RoadBaseAI | |
leftLight | RoadBaseAI | |
rightLight | RoadBaseAI | |
return | System |
public GetLightLeft ( ) : RoadBaseAI.TrafficLightState | ||
return | RoadBaseAI.TrafficLightState |
public GetLightMain ( ) : RoadBaseAI.TrafficLightState | ||
return | RoadBaseAI.TrafficLightState |
public GetLightRight ( ) : RoadBaseAI.TrafficLightState | ||
return | RoadBaseAI.TrafficLightState |
public static InvertLight ( RoadBaseAI light ) : RoadBaseAI.TrafficLightState | ||
light | RoadBaseAI | |
return | RoadBaseAI.TrafficLightState |