From e479edcec0ba8828dd9c5ae2b4abe0bc9539cc53 Mon Sep 17 00:00:00 2001 From: Fuji Sunflower Date: Sat, 28 Oct 2023 20:37:06 +0900 Subject: [PATCH] Change simple code Change simple GUI code --- Assets/VRM10/Editor/Vrm10ExportDialog.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/VRM10/Editor/Vrm10ExportDialog.cs b/Assets/VRM10/Editor/Vrm10ExportDialog.cs index e67e7545f..937bd6f6f 100644 --- a/Assets/VRM10/Editor/Vrm10ExportDialog.cs +++ b/Assets/VRM10/Editor/Vrm10ExportDialog.cs @@ -15,8 +15,7 @@ namespace UniVRM10 { public static void Open() { - var window = (VRM10ExportDialog)GetWindow(typeof(VRM10ExportDialog)); - window.titleContent = new GUIContent("VRM-1.0 Exporter"); + var window = GetWindow("VRM-1.0 Exporter"); window.Show(); } @@ -203,7 +202,7 @@ namespace UniVRM10 } } } - + EditorGUILayout.Separator(); GUI.enabled = backup; } @@ -302,7 +301,8 @@ namespace UniVRM10 { m_logLabel += ex.ToString(); // rethrow - throw; + //throw; + Debug.LogException(ex); } } }