Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
BrokeProtocol.Entities.TrafficLight Class Reference
Inheritance diagram for BrokeProtocol.Entities.TrafficLight:
BrokeProtocol.Entities.Destructible BrokeProtocol.Entities.Serialized

Public Member Functions

void UpdateColor (int colorIndex)
 
- Public Member Functions inherited from BrokeProtocol.Entities.Destructible
void Start ()
 
void BreakJoint ()
 
- Public Member Functions inherited from BrokeProtocol.Entities.Serialized
virtual void InitializeEditor ()
 
virtual void BoundsHighlightAdd ()
 
virtual void BoundsHighlightRemove ()
 
virtual void CheckSave ()
 
void Trigger (Collider collider, string eventName, bool enter)
 

Public Attributes

TrafficLightInfo[] trafficLightInfo = null
 
Transform flareT
 
LensFlare flare
 
- Public Attributes inherited from BrokeProtocol.Entities.Destructible
Rigidbody rb
 
Vector3 originalPosition
 
Quaternion originalRotation
 
- Public Attributes inherited from BrokeProtocol.Entities.Serialized
string referencePrefab
 
GameObject go
 
Transform mainT
 
string data
 
BoundsHighlight highlight
 

Additional Inherited Members

- Protected Member Functions inherited from BrokeProtocol.Entities.Destructible
void AddJoint ()
 
IEnumerator ResetDelay ()
 
void OnJointBreak (float breakForce)
 
- Protected Attributes inherited from BrokeProtocol.Entities.Destructible
FixedJoint fixedJoint
 
Collider[] colliders
 
- Properties inherited from BrokeProtocol.Entities.Destructible
override Vector3 CenterBuoyancy [get]
 
override SerializedParameters Parameters [get]
 
- Properties inherited from BrokeProtocol.Entities.Serialized
virtual bool SendInitial [get]
 
virtual SerializedParameters Parameters [get]
 
virtual Type EditorType [get]
 
ChildIndex GetChildIndex [get]
 
virtual Transform GetRotationT [get]
 
virtual Quaternion GetRotation [get]
 
Transform GetParent [get]
 
bool IsOutside [get]
 
int GetPlaceIndex [get]
 
Place GetPlace [get]
 
Vector3 GetPosition [get]
 
string LogPosition [get]
 
virtual Vector3 CenterBuoyancy [get]
 
virtual bool InWater [get]
 

Member Function Documentation

◆ UpdateColor()

void BrokeProtocol.Entities.TrafficLight.UpdateColor ( int colorIndex)
inline

Member Data Documentation

◆ flare

LensFlare BrokeProtocol.Entities.TrafficLight.flare

◆ flareT

Transform BrokeProtocol.Entities.TrafficLight.flareT

◆ trafficLightInfo

TrafficLightInfo [] BrokeProtocol.Entities.TrafficLight.trafficLightInfo = null

The documentation for this class was generated from the following file: