diff --git a/Assets/VRM.Samples/Editor/Tests/VRMImportExportTests.cs b/Assets/VRM.Samples/Editor/Tests/VRMImportExportTests.cs index 3222dc800..3a42d7a60 100644 --- a/Assets/VRM.Samples/Editor/Tests/VRMImportExportTests.cs +++ b/Assets/VRM.Samples/Editor/Tests/VRMImportExportTests.cs @@ -83,9 +83,11 @@ namespace VRM.Samples var vrm = VRMExporter.Export(context.Root); - var exportJson = JsonParser.Parse(vrm.ToJson()); + // TODO: Check contents in JSON + /*var exportJson = */JsonParser.Parse(vrm.ToJson()); - var newExportedJson = JsonParser.Parse(JsonSchema.FromType().Serialize(vrm)); + // TODO: Check contents in JSON + /*var newExportedJson = */JsonParser.Parse(JsonSchema.FromType().Serialize(vrm)); /* foreach (var kv in importJson.Diff(exportJson)) 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); diff --git a/Assets/VRM/UniJSON/Scripts/ListTreeNode/ListTreeNode.cs b/Assets/VRM/UniJSON/Scripts/ListTreeNode/ListTreeNode.cs index b07678d1c..0c1fef64a 100644 --- a/Assets/VRM/UniJSON/Scripts/ListTreeNode/ListTreeNode.cs +++ b/Assets/VRM/UniJSON/Scripts/ListTreeNode/ListTreeNode.cs @@ -68,9 +68,9 @@ namespace UniJSON if (this.IsArray()) { var sb = new StringBuilder(); - bool isFirst = true; sb.Append("["); /* + bool isFirst = true; foreach (var x in this.ArrayItems()) { if (isFirst) @@ -90,9 +90,9 @@ namespace UniJSON else if (this.IsMap()) { var sb = new StringBuilder(); - bool isFirst = true; sb.Append("{"); /* + bool isFirst = true; foreach (var kv in this.ObjectItems()) { if (isFirst) diff --git a/Assets/VRM/UniVRM/Scripts/BlendShape/Editor/BlendShapeClipDrawer.cs b/Assets/VRM/UniVRM/Scripts/BlendShape/Editor/BlendShapeClipDrawer.cs index 822a5a09f..646c8c4d7 100644 --- a/Assets/VRM/UniVRM/Scripts/BlendShape/Editor/BlendShapeClipDrawer.cs +++ b/Assets/VRM/UniVRM/Scripts/BlendShape/Editor/BlendShapeClipDrawer.cs @@ -26,7 +26,7 @@ namespace VRM position.height = EditorGUIUtility.singleLineHeight; - var halfWidth = position.width * 0.5f; + //var halfWidth = position.width * 0.5f; var rect = new Rect(position.x + ThumbnailSize, position.y, position.width - ThumbnailSize, position.height); EditorGUI.PropertyField(rect, property); diff --git a/Assets/VRM/UniVRM/Scripts/BlendShape/Editor/BlendShapeClipEditor.cs b/Assets/VRM/UniVRM/Scripts/BlendShape/Editor/BlendShapeClipEditor.cs index 440797e73..2821163e2 100644 --- a/Assets/VRM/UniVRM/Scripts/BlendShape/Editor/BlendShapeClipEditor.cs +++ b/Assets/VRM/UniVRM/Scripts/BlendShape/Editor/BlendShapeClipEditor.cs @@ -95,9 +95,10 @@ namespace VRM m_isBinaryProp = serializedObject.FindProperty("IsBinary"); } - int thumbnailSize = 96; EditorGUILayout.BeginHorizontal(); + /* + int thumbnailSize = 96; var objectReferenceValue = EditorGUILayout.ObjectField(m_thumbnailProp.objectReferenceValue, typeof(Texture), false, GUILayout.Width(thumbnailSize), GUILayout.Height(thumbnailSize)); if (m_thumbnailProp.objectReferenceValue != objectReferenceValue) diff --git a/Assets/VRM/UniVRM/Scripts/BlendShape/Editor/SerializedBlendShapeClipEditor.cs b/Assets/VRM/UniVRM/Scripts/BlendShape/Editor/SerializedBlendShapeClipEditor.cs index 13d190e52..17112291f 100644 --- a/Assets/VRM/UniVRM/Scripts/BlendShape/Editor/SerializedBlendShapeClipEditor.cs +++ b/Assets/VRM/UniVRM/Scripts/BlendShape/Editor/SerializedBlendShapeClipEditor.cs @@ -36,7 +36,7 @@ namespace VRM #endregion #region Editor values - float m_previewSlider = 1.0f; + //float m_previewSlider = 1.0f; bool m_changed;