From ea36cd63ad780ebec7a23db8c9895cc182d7a242 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Thu, 12 Apr 2018 16:49:27 +0900 Subject: [PATCH] add OnWizardUpdate --- Scripts/Format/Editor/VRMExporterMenu.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Scripts/Format/Editor/VRMExporterMenu.cs b/Scripts/Format/Editor/VRMExporterMenu.cs index 8252c8b8a..a21ec2000 100644 --- a/Scripts/Format/Editor/VRMExporterMenu.cs +++ b/Scripts/Format/Editor/VRMExporterMenu.cs @@ -47,6 +47,8 @@ namespace VRM { wiz.Title = wiz.Target.name; } + + wiz.OnWizardUpdate(); } string m_dir; @@ -121,13 +123,13 @@ namespace VRM if (string.IsNullOrEmpty(Title)) { isValid = false; - errorBuilder.Append("input vrm Title\n"); + errorBuilder.Append("require Title\n"); } if (string.IsNullOrEmpty(Author)) { isValid = false; - errorBuilder.Append("input vrm Author\n"); + errorBuilder.Append("require Author\n"); } helpString = helpBuilder.ToString();