|
Broke Protocol Game API Reference
1.39
Code reference for server and client scripting
|
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] |
|
inline |
| LensFlare BrokeProtocol.Entities.TrafficLight.flare |
| Transform BrokeProtocol.Entities.TrafficLight.flareT |
| TrafficLightInfo [] BrokeProtocol.Entities.TrafficLight.trafficLightInfo = null |