public void LoadAsync(LoadSuccess onLoadSuccess, LoadError onLoadFailed) { LoaderGroup loaderGroup = new LoaderGroup(); PopulatedLoadGroup(loaderGroup); loaderGroup.LoadAsync(onLoadSuccess, onLoadFailed); }
public static LoaderGroup Get(LoaderTask loaderTask) { LoaderGroup loaderGroup = s_LoaderGroupPool.Get(); loaderGroup.loaderTask = loaderTask; return(loaderGroup); }
public void LoadAsync(LoadSuccess onLoadSuccess, LoadError onLoadFailed) { LoaderGroup loaderGroup = new LoaderGroup(); loaderGroup.AppendProvider(_loaderGroup); PopulatedLoadGroup(loaderGroup); loaderGroup.LoadAsync(() => { IsLoaded = true; onLoadSuccess(); }, onLoadFailed); }
partial void PopulatedLoadGroup(LoaderGroup loadGroup);
public static void Release(LoaderGroup loaderGroup) { s_LoaderGroupPool.Release(loaderGroup); }
partial void PopulatedLoadGroup(LoaderGroup loadGroup) { loadGroup.AppendProvider(_synchronousStaticData); }