Example #1
0
    public SpawnPool(string strPoolName, IzPoolManager izPoolManager, GameObject parentGameObject)
    {
        this._strPoolName   = strPoolName;
        this._izPoolManager = izPoolManager;

        this._parentGameObject = parentGameObject;
        this._rootGameObject   = new GameObject(strPoolName);
        this._rootGameObject.transform.parent = this._parentGameObject.transform;
    }
Example #2
0
 public static IzSpawnPool CreateSpawnPool(string strPoolName, IzPoolManager izPoolManager, GameObject parentGameObject)
 {
     return(new SpawnPool(strPoolName, izPoolManager, parentGameObject));
 }