Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
BrokeProtocol.Collections.LayerBuffer Class Reference
Inheritance diagram for BrokeProtocol.Collections.LayerBuffer:
BrokeProtocol.Collections.BaseBuffer BrokeProtocol.Collections.FollowBuffer BrokeProtocol.Collections.TrailBuffer

Public Member Functions

 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 ReleaseItem (GameObject g)
 
- Protected Member Functions inherited from BrokeProtocol.Collections.BaseBuffer
virtual void GetItem (GameObject g)
 
virtual void DestroyItem (GameObject g)
 
IEnumerator ReleaseDelay (GameObject g, float delay)
 

Additional Inherited Members

- 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 ()
 

Constructor & Destructor Documentation

◆ LayerBuffer()

BrokeProtocol.Collections.LayerBuffer.LayerBuffer ( GameObject prefab,
int capacity )
inline

Member Function Documentation

◆ CreateItem()

override GameObject BrokeProtocol.Collections.LayerBuffer.CreateItem ( )
inlineprotectedvirtual

◆ ReleaseItem()

override void BrokeProtocol.Collections.LayerBuffer.ReleaseItem ( GameObject g)
inlineprotectedvirtual

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