Playground
by Górka Mateusz
|
Component-based object pooler running on IPooled interface. More...
Classes | |
class | ListOfIPooled |
Public Member Functions | |
GameObject | GetObject () |
GameObject | GetObject (Vector3 position, Quaternion rotation) |
GameObject | GetObject () |
GameObject | GetObject (Vector3 position, Quaternion rotation) |
Private Member Functions | |
IPooled | CreateNewObject () |
Private Attributes | |
readonly ListOfIPooled | _list = new ListOfIPooled() |
Additional Inherited Members | |
![]() | |
const string | PREFIX_NAME = "[Pooling] " |
![]() | |
virtual void | Awake () |
![]() | |
GameObject | _prefab |
Transform | _parent |
Component-based object pooler running on IPooled interface.
Running IPooled.Recycled = false
or IPooled.DeactivateAndFree()
frees the object.
|
inline |
Implements Goo.Tools.Pooling.IObjectPooler.
|
inlineprivate |
|
inline |
Implements Goo.Tools.Pooling.IObjectPooler.
|
private |