From ee948dda6199041bd72faa28646511f51db2e01c Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 13 Jan 2021 21:21:22 +0900 Subject: [PATCH] update UniGLTF menu --- Assets/UniGLTF/Editor/UniGLTF/ImporterMenu.cs | 4 ++-- Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion_partial.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/UniGLTF/Editor/UniGLTF/ImporterMenu.cs b/Assets/UniGLTF/Editor/UniGLTF/ImporterMenu.cs index 63f450459..2e6dc1eb2 100644 --- a/Assets/UniGLTF/Editor/UniGLTF/ImporterMenu.cs +++ b/Assets/UniGLTF/Editor/UniGLTF/ImporterMenu.cs @@ -7,10 +7,10 @@ namespace UniGLTF { public static class ImporterMenu { - [MenuItem(UniGLTFVersion.MENU + "/Import", priority = 1)] + [MenuItem(UniGLTFVersion.MENU + "/Import(gltf, glb)", priority = 1)] public static void ImportMenu() { - var path = EditorUtility.OpenFilePanel("open gltf", "", "gltf,glb,zip"); + var path = EditorUtility.OpenFilePanel("open gltf", "", "gltf,glb"); if (string.IsNullOrEmpty(path)) { return; diff --git a/Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion_partial.cs b/Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion_partial.cs index aff790da9..d7af7a843 100644 --- a/Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion_partial.cs +++ b/Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion_partial.cs @@ -3,6 +3,6 @@ public static partial class UniGLTFVersion { public const string UNIGLTF_VERSION = "UniGLTF-" + VERSION; - public const string MENU = "VRM/" + UNIGLTF_VERSION; + public const string MENU = "UniGLTF"; } -} \ No newline at end of file +}