C# 클래스 QuickPool.PoolsManager

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: minimalgeek/TapBand 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
debugMessages bool
pools List
spawnDespawnMessages bool

공개 메소드들

메소드 설명
CreatePool ( GameObject prefabs ) : Pool
Despawn ( GameObject target ) : void

Hides object

DespawnAll ( ) : void
RegisterPool ( Pool target ) : void
RemovePool ( string name ) : void
Spawn ( GameObject prefab, Vector3 pos, Quaternion rot ) : GameObject

Spawns an object from specified pool

Spawn ( string name, Vector3 pos, Quaternion rot ) : GameObject

Spawns an object from specified pool

this ( string name ) : Pool

비공개 메소드들

메소드 설명
Start ( ) : void

Initialization

메소드 상세

CreatePool() 공개 정적인 메소드

public static CreatePool ( GameObject prefabs ) : Pool
prefabs UnityEngine.GameObject
리턴 Pool

Despawn() 공개 정적인 메소드

Hides object
public static Despawn ( GameObject target ) : void
target UnityEngine.GameObject Target
리턴 void

DespawnAll() 공개 정적인 메소드

public static DespawnAll ( ) : void
리턴 void

RegisterPool() 공개 정적인 메소드

public static RegisterPool ( Pool target ) : void
target Pool
리턴 void

RemovePool() 공개 정적인 메소드

public static RemovePool ( string name ) : void
name string
리턴 void

Spawn() 공개 정적인 메소드

Spawns an object from specified pool
public static Spawn ( GameObject prefab, Vector3 pos, Quaternion rot ) : GameObject
prefab UnityEngine.GameObject Pool name
pos UnityEngine.Vector3 Target position
rot UnityEngine.Quaternion Target rotation
리턴 UnityEngine.GameObject

Spawn() 공개 정적인 메소드

Spawns an object from specified pool
public static Spawn ( string name, Vector3 pos, Quaternion rot ) : GameObject
name string Pool name
pos UnityEngine.Vector3 Target position
rot UnityEngine.Quaternion Target rotation
리턴 UnityEngine.GameObject

this() 공개 메소드

public this ( string name ) : Pool
name string
리턴 Pool

프로퍼티 상세

debugMessages 공개적으로 프로퍼티

public bool debugMessages
리턴 bool

pools 공개적으로 프로퍼티

public List pools
리턴 List

spawnDespawnMessages 공개적으로 프로퍼티

public bool spawnDespawnMessages
리턴 bool