From e9425948e530f033f95a74206edede27dae7c623 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 25 Aug 2021 16:49:42 +0900 Subject: [PATCH] =?UTF-8?q?EditorEditMode=20=E3=81=AE=E3=83=87=E3=83=95?= =?UTF-8?q?=E3=82=A9=E3=83=AB=E3=83=88=E5=80=A4=E3=82=92=20Advanced=20?= =?UTF-8?q?=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../VRM10/Runtime/IO/Material/Vrm10MToonMaterialImporter.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialImporter.cs b/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialImporter.cs index e83381a63..982c6e7ea 100644 --- a/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialImporter.cs +++ b/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialImporter.cs @@ -228,6 +228,12 @@ namespace UniVRM10 { yield return (MToon10Prop.UvAnimationRotationSpeedFactor.ToUnityShaderLabName(), uvAnimSpeedRotation.Value); } + + // UI + if (true /* TODO: mToon.IsAdvancedMode */) + { + yield return (MToon10Prop.EditorEditMode.ToUnityShaderLabName(), 1); + } } public static IEnumerable<(string key, Vector4 value)> TryGetAllFloatArrays(glTFMaterial material, VRMC_materials_mtoon mToon)