public static ResLoader Allocate(IResLoaderStrategy strategy = null) { ResLoader loader = ObjectPool <ResLoader> .Instance.Allocate(); loader.SetStrategy(strategy); return(loader); }
public static ResLoader Allocate(IResLoaderStrategy strategy = null) { ResLoader loader = ObjectPool <ResLoader> .Instance.Allocate(); loader.SetStrategy(strategy); return(loader); }