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