Method | Description | |
---|---|---|
NextAvailableObject ( bool autoActive ) : GameObject | ||
Pool ( string poolName, GameObject poolObjectPrefab, GameObject rootPoolObj, int initialCount, PoolInflationType type ) : System.Collections.Generic | ||
ReturnObjectToPool ( PoolObject po ) : void |
Method | Description | |
---|---|---|
AddObjectToPool ( PoolObject, po ) : void | ||
populatePool ( int initialCount ) : void |
public NextAvailableObject ( bool autoActive ) : GameObject | ||
autoActive | bool | |
return | GameObject |
public Pool ( string poolName, GameObject poolObjectPrefab, GameObject rootPoolObj, int initialCount, PoolInflationType type ) : System.Collections.Generic | ||
poolName | string | |
poolObjectPrefab | GameObject | |
rootPoolObj | GameObject | |
initialCount | int | |
type | PoolInflationType | |
return | System.Collections.Generic |
public ReturnObjectToPool ( PoolObject po ) : void | ||
po | PoolObject | |
return | void |