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

Public Member Functions

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

Rigidbody rb
 
Vector3 originalPosition
 
Quaternion originalRotation
 
- Public Attributes inherited from BrokeProtocol.Entities.Serialized
string referencePrefab
 
GameObject go
 
Transform mainT
 
string data
 
BoundsHighlight highlight
 

Protected Member Functions

void AddJoint ()
 
IEnumerator ResetDelay ()
 
void OnJointBreak (float breakForce)
 

Protected Attributes

FixedJoint fixedJoint
 
Collider[] colliders
 

Properties

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

◆ AddJoint()

void BrokeProtocol.Entities.Destructible.AddJoint ( )
inlineprotected

◆ BreakJoint()

void BrokeProtocol.Entities.Destructible.BreakJoint ( )
inline

◆ OnJointBreak()

void BrokeProtocol.Entities.Destructible.OnJointBreak ( float breakForce)
inlineprotected

◆ ResetDelay()

IEnumerator BrokeProtocol.Entities.Destructible.ResetDelay ( )
inlineprotected

◆ Start()

void BrokeProtocol.Entities.Destructible.Start ( )
inline

Member Data Documentation

◆ colliders

Collider [] BrokeProtocol.Entities.Destructible.colliders
protected

◆ fixedJoint

FixedJoint BrokeProtocol.Entities.Destructible.fixedJoint
protected

◆ originalPosition

Vector3 BrokeProtocol.Entities.Destructible.originalPosition

◆ originalRotation

Quaternion BrokeProtocol.Entities.Destructible.originalRotation

◆ rb

Rigidbody BrokeProtocol.Entities.Destructible.rb

Property Documentation

◆ CenterBuoyancy

override Vector3 BrokeProtocol.Entities.Destructible.CenterBuoyancy
get

◆ Parameters

override SerializedParameters BrokeProtocol.Entities.Destructible.Parameters
get

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