C# Class QFramework.Pool.QGOPool

Afficher le fichier Open project: liangxiegame/QFramework

Méthodes publiques

Méthode Description
NextAvailableObject ( ) : GameObject
QGOPool ( string poolName, GameObject poolObjectPrefab, int initCount, int maxSize, Transform pool ) : UnityEngine
ReturnObjectToPool ( string pool, GameObject po ) : void

Private Methods

Méthode Description
AddObjectToPool ( GameObject go ) : void
NewObjectInstance ( ) : GameObject

Method Details

NextAvailableObject() public méthode

public NextAvailableObject ( ) : GameObject
Résultat UnityEngine.GameObject

QGOPool() public méthode

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
Résultat UnityEngine

ReturnObjectToPool() public méthode

public ReturnObjectToPool ( string pool, GameObject po ) : void
pool string
po UnityEngine.GameObject
Résultat void