Ejemplo n.º 1
0
 public static List <T> GetPooled <T>(this T prefab) where T : Component
 {
     return(ObjectPool.GetPooled(prefab, null, false));
 }
Ejemplo n.º 2
0
 public static List <T> GetPooled <T>(this T prefab, List <T> list, bool appendList) where T : Component
 {
     return(ObjectPool.GetPooled(prefab, list, appendList));
 }
Ejemplo n.º 3
0
 public static List <GameObject> GetPooled(this GameObject prefab, List <GameObject> list)
 {
     return(ObjectPool.GetPooled(prefab, list, false));
 }
Ejemplo n.º 4
0
 public static List <GameObject> GetPooled(this GameObject prefab)
 {
     return(ObjectPool.GetPooled(prefab, null, false));
 }
Ejemplo n.º 5
0
 public static List <GameObject> GetPooled(this GameObject prefab, List <GameObject> list, bool appendList)
 {
     return(ObjectPool.GetPooled(prefab, list, appendList));
 }