public virtual GameObject GetObject() { if (!inited) { objectPool = new GameObjectPool(rootPoolObj, prefabObj, 0); inited = true; } return(objectPool.Alloc()); }