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