From 123c695aa8754bbc5df98f26a54fa1322ebcb039 Mon Sep 17 00:00:00 2001 From: yutopp Date: Tue, 29 Jan 2019 14:54:34 +0900 Subject: [PATCH] Use Action instead of Action --- Assets/VRM.Samples/Scripts/VRMRuntimeExporter.cs | 2 +- Assets/VRM.Samples/Scripts/VRMRuntimeLoader.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/VRM.Samples/Scripts/VRMRuntimeExporter.cs b/Assets/VRM.Samples/Scripts/VRMRuntimeExporter.cs index ae6f76631..2133365bf 100644 --- a/Assets/VRM.Samples/Scripts/VRMRuntimeExporter.cs +++ b/Assets/VRM.Samples/Scripts/VRMRuntimeExporter.cs @@ -54,7 +54,7 @@ namespace VRM.Samples Debug.LogFormat("meta: title:{0}", meta.Title); // ParseしたJSONをシーンオブジェクトに変換していく - context.LoadAsync(_ => OnLoaded(context)); + context.LoadAsync(() => OnLoaded(context)); } void OnLoaded(VRMImporterContext context) diff --git a/Assets/VRM.Samples/Scripts/VRMRuntimeLoader.cs b/Assets/VRM.Samples/Scripts/VRMRuntimeLoader.cs index 2ad97ef40..3e4911286 100644 --- a/Assets/VRM.Samples/Scripts/VRMRuntimeLoader.cs +++ b/Assets/VRM.Samples/Scripts/VRMRuntimeLoader.cs @@ -163,7 +163,7 @@ namespace VRM.Samples { #if true var now = Time.time; - context.LoadAsync(_ => + context.LoadAsync(() => { var delta = Time.time - now; Debug.LogFormat("LoadAsync {0:0.0} seconds", delta);