update UniGLTF menu

This commit is contained in:
ousttrue
2021-01-13 21:21:22 +09:00
parent ddfecb712f
commit ee948dda61
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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";
}
}
}