Broke Protocol Game API Reference
1.39
Code reference for server and client scripting
|
Public Member Functions | |
TrailBuffer (GameObject prefab, int capacity, float lifespan) | |
GameObject | Execute (Vector3 start, Vector3 end, GameObject source) |
Public Member Functions inherited from BrokeProtocol.Collections.LayerBuffer | |
LayerBuffer (GameObject prefab, int capacity) | |
Public Member Functions inherited from BrokeProtocol.Collections.BaseBuffer | |
BaseBuffer (GameObject prefab, int capacity) | |
GameObject | Execute () |
void | Release (GameObject g) |
Protected Member Functions | |
override GameObject | CreateItem () |
override void | DestroyItem (GameObject g) |
Protected Member Functions inherited from BrokeProtocol.Collections.LayerBuffer | |
override void | ReleaseItem (GameObject g) |
Protected Member Functions inherited from BrokeProtocol.Collections.BaseBuffer | |
virtual void | GetItem (GameObject g) |
IEnumerator | ReleaseDelay (GameObject g, float delay) |
Protected Attributes | |
float | lifespan |
Dictionary< GameObject, LineRenderer > | rendererCache = new () |
Protected Attributes inherited from BrokeProtocol.Collections.BaseBuffer | |
Dictionary< GameObject, Transform > | transformCache = new () |
Dictionary< GameObject, ParticleSystem > | particleCache = new () |
Dictionary< GameObject, AudioSource > | audioCache = new () |
Dictionary< GameObject, Light > | lightCache = new () |
|
inline |
|
inlineprotectedvirtual |
Reimplemented from BrokeProtocol.Collections.LayerBuffer.
|
inlineprotectedvirtual |
Reimplemented from BrokeProtocol.Collections.BaseBuffer.
|
inline |
|
protected |
|
protected |