mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-02 16:03:10 -05:00
update menu
This commit is contained in:
parent
546c4d54b1
commit
ff31a01e7d
|
|
@ -43,7 +43,7 @@ namespace UniJSON
|
|||
typeof(double),
|
||||
};
|
||||
|
||||
[MenuItem("VRM/UniJSON/Generate ConcreteCast")]
|
||||
[MenuItem("UniGLTF/UniJSON/Generate ConcreteCast")]
|
||||
public static void GenerateGenericCast()
|
||||
{
|
||||
var s = new StringBuilder();
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace UniJSON
|
|||
#if UNITY_EDITOR && VRM_DEVELOP
|
||||
const int NET35MAX = 4;
|
||||
const int ARGS = 6;
|
||||
const string GENERATE_PATH = "/VRM/UniJSON/Scripts/GenericCallUtility/GenericExpressionCallFactory.g.cs";
|
||||
const string GENERATE_PATH = "UniGLTF/UniJSON/Scripts/GenericCallUtility/GenericExpressionCallFactory.g.cs";
|
||||
|
||||
static System.Collections.Generic.IEnumerable<string> GetArgs(string prefix, int n)
|
||||
{
|
||||
|
|
@ -25,7 +25,7 @@ namespace UniJSON
|
|||
}
|
||||
}
|
||||
|
||||
[MenuItem("VRM/UniJSON/Generate GenericExpressionCallFactory")]
|
||||
[MenuItem("UniGLTF/UniJSON/Generate GenericExpressionCallFactory")]
|
||||
static void Generate()
|
||||
{
|
||||
var sb = new StringBuilder();
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ namespace UniJSON
|
|||
#if UNITY_EDITOR && VRM_DEVELOP
|
||||
const int NET35MAX = 4;
|
||||
const int ARGS = 6;
|
||||
const string GENERATE_PATH = "/VRM/UniJSON/Scripts/GenericCallUtility/GenericInvokeCallFactory.g.cs";
|
||||
const string GENERATE_PATH = "/UniGLTF/UniJSON/Scripts/GenericCallUtility/GenericInvokeCallFactory.g.cs";
|
||||
|
||||
static System.Collections.Generic.IEnumerable<string> GetArgs(string prefix, int n)
|
||||
{
|
||||
|
|
@ -34,7 +34,7 @@ namespace UniJSON
|
|||
}
|
||||
}
|
||||
|
||||
[MenuItem("VRM/UniJSON/Generate GenericInvokeCallFactory")]
|
||||
[MenuItem("UniGLTF/UniJSON/Generate GenericInvokeCallFactory")]
|
||||
static void Generate()
|
||||
{
|
||||
var sb = new StringBuilder();
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace VRM
|
|||
{
|
||||
public class VRMExporterWizard : EditorWindow
|
||||
{
|
||||
const string CONVERT_HUMANOID_KEY = VRMVersion.MENU + "/Export humanoid";
|
||||
const string CONVERT_HUMANOID_KEY = VRMVersion.MENU + "/Export " + VRMVersion.VRM_VERSION;
|
||||
|
||||
[MenuItem(CONVERT_HUMANOID_KEY, false, 1)]
|
||||
private static void ExportFromMenu()
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ namespace VRM
|
|||
[DisallowMultipleComponent]
|
||||
public static class MeshIntegratorEditor
|
||||
{
|
||||
const string MENU_KEY = "Mesh Utility/MeshIntegrator";
|
||||
const string MENU_KEY = VRMVersion.MENU + "/MeshIntegrator";
|
||||
const string ASSET_SUFFIX = ".mesh.asset";
|
||||
|
||||
[MenuItem(MENU_KEY, true)]
|
||||
|
|
|
|||
|
|
@ -100,6 +100,6 @@ namespace VRM
|
|||
}
|
||||
|
||||
public const string VRM_VERSION = "UniVRM-" + VERSION;
|
||||
public const string MENU = "VRM/" + VRM_VERSION;
|
||||
public const string MENU = "VRM0";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace UniVRM10
|
|||
{
|
||||
public class VRMSpringBoneWindow : EditorWindow
|
||||
{
|
||||
[MenuItem("VRM/UniVRM-" + UniVRM10.VRMVersion.VERSION + "/VRMSpringBoneWindow")]
|
||||
[MenuItem(VRMVersion.MENU + "/VRMSpringBoneWindow")]
|
||||
public static void ShowEditorWindow()
|
||||
{
|
||||
var wnd = GetWindow<VRMSpringBoneWindow>();
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ namespace UniVRM10
|
|||
/// </summary>
|
||||
public static class Menu
|
||||
{
|
||||
[MenuItem("VRM/UniVRM-" + UniVRM10.VRMVersion.VERSION + "/Generate from JsonSchema")]
|
||||
[MenuItem(UniVRM10.VRMVersion.MENU + "/Generate from JsonSchema")]
|
||||
public static void Main()
|
||||
{
|
||||
var root = new DirectoryInfo(Path.GetFullPath(Path.Combine(Application.dataPath, "../../")));
|
||||
|
|
|
|||
|
|
@ -102,8 +102,6 @@ namespace UniVRM10
|
|||
public string Pre;
|
||||
}
|
||||
|
||||
public const string VRM_VERSION = "UniVRM-" + VERSION;
|
||||
public const string MENU = "VRM/" + VRM_VERSION;
|
||||
|
||||
public const string MENU = "VRM1/";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user