Свойство | Тип | Описание | |
---|---|---|---|
Container | Transform |
Метод | Описание | |
---|---|---|
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 | |
Результат | GameObject |
public Initialize ( Transform containerTransform ) : void | ||
containerTransform | Transform | |
Результат | void |
public PoolObject ( GameObject obj ) : void | ||
obj | GameObject | /// Object to be pooled. /// |
Результат | void |