public static List <T> GetSpawned <T>(this T prefab) where T : Component { return(GameObjectPool.GetSpawned(prefab, null, false)); }
public static List <GameObject> GetSpawned(this GameObject prefab) { return(GameObjectPool.GetSpawned(prefab, null, false)); }
public static List <T> GetSpawned <T>(this T prefab, List <T> list, bool appendList) where T : Component { return(GameObjectPool.GetSpawned(prefab, list, appendList)); }
public static List <GameObject> GetSpawned(this GameObject prefab, List <GameObject> list, bool appendList) { return(GameObjectPool.GetSpawned(prefab, list, appendList)); }