mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-27 21:34:38 -05:00
update UniGLTF menu
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user