C# 클래스 ObjectPool.ObjectPoolEntry, SimpleObjectPool

파일 보기 프로젝트 열기: gazialankus/SimpleObjectPool 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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.

메소드 상세

GetObjectFromPool() 공개 메소드

public GetObjectFromPool ( bool onlyPooled ) : GameObject
onlyPooled bool
리턴 GameObject

Initialize() 공개 메소드

public Initialize ( Transform containerTransform ) : void
containerTransform Transform
리턴 void

PoolObject() 공개 메소드

Pools the object specified. Will not be pooled if there is no prefab of that type.
public PoolObject ( GameObject obj ) : void
obj GameObject /// Object to be pooled. ///
리턴 void

프로퍼티 상세

Container 공개적으로 프로퍼티

public Transform Container
리턴 Transform