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