Show & check exporter version

This commit is contained in:
ousttrue
2018-04-22 17:20:03 +09:00
parent 10cc20f973
commit 7f3cd36966
4 changed files with 58 additions and 1 deletions

View File

@@ -79,6 +79,14 @@ namespace VRM
so.Update();
GUI.enabled = false;
EditorGUILayout.PropertyField(m_propMap["ExporterVersion"]);
if (VRMVersion.IsNewer(m_propMap["ExporterVersion"].stringValue))
{
EditorGUILayout.HelpBox("Check UniVRM new version. https://github.com/dwango/UniVRM/releases", MessageType.Warning);
}
GUI.enabled = true;
m_foldoutInfo = EditorGUILayout.Foldout(m_foldoutInfo, "Information");
if (m_foldoutInfo)
{