Exemple #1
0
 public static List <T> GetPooled <T>(this T prefab) where T : Component
 {
     return(SpacePool.GetPooled(prefab, null, false));
 }
Exemple #2
0
 public static List <GameObject> GetPooled(this GameObject prefab)
 {
     return(SpacePool.GetPooled(prefab, null, false));
 }
Exemple #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));
 }
Exemple #4
0
 public static List <GameObject> GetPooled(this GameObject prefab, List <GameObject> list, bool appendList)
 {
     return(SpacePool.GetPooled(prefab, list, appendList));
 }