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