|
Broke Protocol Game API Reference
1.39
Code reference for server and client scripting
|
Public Member Functions | |
| TimedBuffer (GameObject prefab, int capacity, float lifespan) | |
| virtual GameObject | Execute (Vector3 start, Vector3 normal) |
| GameObject | Execute (Vector3 start, Quaternion rotation) |
Public Member Functions inherited from BrokeProtocol.Collections.BaseBuffer | |
| BaseBuffer (GameObject prefab, int capacity) | |
| GameObject | Execute () |
| void | Release (GameObject g) |
Protected Member Functions | |
| override void | GetItem (GameObject g) |
Protected Member Functions inherited from BrokeProtocol.Collections.BaseBuffer | |
| virtual GameObject | CreateItem () |
| virtual void | ReleaseItem (GameObject g) |
| virtual void | DestroyItem (GameObject g) |
| IEnumerator | ReleaseDelay (GameObject g, float delay) |
Protected Attributes | |
| float | lifespan |
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 |
|
inline |
|
virtual |
Reimplemented in BrokeProtocol.Collections.SplatBuffer.
|
inlineprotectedvirtual |
Reimplemented from BrokeProtocol.Collections.BaseBuffer.
|
protected |