Свойство | Type | Description | |
---|---|---|---|
Container | Transform |
Méthode | 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 | |
Résultat | GameObject |
public Initialize ( Transform containerTransform ) : void | ||
containerTransform | Transform | |
Résultat | void |
public PoolObject ( GameObject obj ) : void | ||
obj | GameObject | /// Object to be pooled. /// |
Résultat | void |