Playground
by Górka Mateusz
|
Component-based object pooler running on GameObjects class. More...
Public Member Functions | |
virtual GameObject | GetObject () |
virtual GameObject | GetObject (Vector3 position, Quaternion rotation) |
virtual T | GetObject< T > () |
virtual void | DisableAll () |
virtual void | DestroyAll () |
GameObject | GetObject () |
GameObject | GetObject (Vector3 position, Quaternion rotation) |
Private Member Functions | |
GameObject | CreateNewObject () |
Private Attributes | |
readonly ListOfGameObject | _list = new ListOfGameObject() |
Additional Inherited Members | |
![]() | |
const string | PREFIX_NAME = "[Pooling] " |
![]() | |
virtual void | Awake () |
![]() | |
GameObject | _prefab |
Transform | _parent |
Component-based object pooler running on GameObjects class.
Running GameObject.SetActive(false)
frees the object.
|
inlinevirtual |
Implements Goo.Tools.Pooling.IObjectPooler.
|
inlineprivate |
|
inlinevirtual |
Implements Goo.Tools.Pooling.IObjectPooler.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
private |