Esempio n. 1
0
 public GameObjectPoolCat GetEffectGameObjectPool(GameObject prefab)
 {
     return(PoolCatManagerUtil.GetOrAddGameObjectPool(GetEffectGameObjectPoolName(), prefab,
                                                      EffectManagerConst.Pool_Name + "/" + effectEntity.effectId));
 }
Esempio n. 2
0
 public static GameObjectPoolCat GetOrAddGameObjectPool(string poolName, GameObject prefab,
                                                        string categoryName = null)
 {
     return(PoolCatManagerUtil.GetOrAddGameObjectPool(poolName, prefab, categoryName));
 }
Esempio n. 3
0
 public static GameObject Spawn(GameObject prefab)
 {
     return(PoolCatManagerUtil.GetOrAddGameObjectPool("AAA", prefab, "CC").SpawnGameObject());
 }