Property | Type | Description | |
---|---|---|---|
Container | Transform |
Method | Description | |
---|---|---|
GetObjectFromPool ( bool onlyPooled ) : GameObject | ||
Initialize ( Transform containerTransform ) : void | ||
PoolObject ( GameObject obj ) : void |
Pools the object specified. Will not be pooled if there is no prefab of that type.
|
public GetObjectFromPool ( bool onlyPooled ) : GameObject | ||
onlyPooled | bool | |
return | GameObject |
public Initialize ( Transform containerTransform ) : void | ||
containerTransform | Transform | |
return | void |
public PoolObject ( GameObject obj ) : void | ||
obj | GameObject | /// Object to be pooled. /// |
return | void |