public static PrefabPool CreatePool <T>(this T prefab) where T : Component { return(SpacePool.CreatePool(prefab, 0)); }
public static PrefabPool CreatePool(this GameObject prefab) { return(SpacePool.CreatePool(prefab, 0)); }
public static PrefabPool CreatePool(this GameObject prefab, int initialPoolSize) { return(SpacePool.CreatePool(prefab, initialPoolSize)); }
public static PrefabPool CreatePool <T>(this T prefab, int initialPoolSize) where T : Component { return(SpacePool.CreatePool(prefab, initialPoolSize)); }