remove DepthFirstScheduler

#450
This commit is contained in:
ousttrue
2021-02-16 20:16:21 +09:00
parent 2546535118
commit 677ccf9d58
40 changed files with 126 additions and 1666 deletions

View File

@@ -164,16 +164,15 @@ namespace VRM.Samples
}
void LoadAsync(VRMImporterContext context)
async void LoadAsync(VRMImporterContext context)
{
#if true
var now = Time.time;
context.LoadAsync(() =>
{
var delta = Time.time - now;
Debug.LogFormat("LoadAsync {0:0.0} seconds", delta);
OnLoaded(context);
});
await context.LoadAsync();
var delta = Time.time - now;
Debug.LogFormat("LoadAsync {0:0.0} seconds", delta);
OnLoaded(context);
#else
// ローカルファイルシステムからロードします
VRMImporter.LoadVrmAsync(path, OnLoaded);