From 0029c1cd5f68af3f2371bc2449e6bf74cb5c008e Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Tue, 20 Sep 2022 23:24:09 +0900 Subject: [PATCH] =?UTF-8?q?LoadBlendShapeBind=E3=81=AE=E5=BC=95=E6=95=B0?= =?UTF-8?q?=E9=A0=86=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit IAwaitCallerを最後の引数にするように変更 See also : https://github.com/vrm-c/UniVRM/pull/1795#discussion_r974879093 --- Assets/VRM/Runtime/IO/VRMImporterContext.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/VRM/Runtime/IO/VRMImporterContext.cs b/Assets/VRM/Runtime/IO/VRMImporterContext.cs index 4f4c20575..b95868539 100644 --- a/Assets/VRM/Runtime/IO/VRMImporterContext.cs +++ b/Assets/VRM/Runtime/IO/VRMImporterContext.cs @@ -126,7 +126,7 @@ namespace VRM foreach (var x in blendShapeList) { await awaitCaller.NextFrameIfTimedOut(); - BlendShapeAvatar.Clips.Add(await LoadBlendShapeBind(awaitCaller, x, transformMeshTable)); + BlendShapeAvatar.Clips.Add(await LoadBlendShapeBind(x, transformMeshTable, awaitCaller)); } } @@ -135,7 +135,7 @@ namespace VRM proxy.BlendShapeAvatar = BlendShapeAvatar; } - async Task LoadBlendShapeBind(IAwaitCaller awaitCaller, glTF_VRM_BlendShapeGroup group, Dictionary transformMeshTable) + async Task LoadBlendShapeBind(glTF_VRM_BlendShapeGroup group, Dictionary transformMeshTable, IAwaitCaller awaitCaller) { var asset = ScriptableObject.CreateInstance(); var groupName = group.name;