C# 클래스 QFramework.Pool.QGOPool

파일 보기 프로젝트 열기: liangxiegame/QFramework

공개 메소드들

메소드 설명
NextAvailableObject ( ) : GameObject
QGOPool ( string poolName, GameObject poolObjectPrefab, int initCount, int maxSize, Transform pool ) : UnityEngine
ReturnObjectToPool ( string pool, GameObject po ) : void

비공개 메소드들

메소드 설명
AddObjectToPool ( GameObject go ) : void
NewObjectInstance ( ) : GameObject

메소드 상세

NextAvailableObject() 공개 메소드

public NextAvailableObject ( ) : GameObject
리턴 UnityEngine.GameObject

QGOPool() 공개 메소드

public QGOPool ( string poolName, GameObject poolObjectPrefab, int initCount, int maxSize, Transform pool ) : UnityEngine
poolName string
poolObjectPrefab UnityEngine.GameObject
initCount int
maxSize int
pool UnityEngine.Transform
리턴 UnityEngine

ReturnObjectToPool() 공개 메소드

public ReturnObjectToPool ( string pool, GameObject po ) : void
pool string
po UnityEngine.GameObject
리턴 void