mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-08 03:48:19 -05:00
VRMShaders メニューを消す
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
"GUID:7da8a75dcade2144aab699032d7d7987",
|
||||
"GUID:8d76e605759c3f64a957d63ef96ada7c",
|
||||
"GUID:5f875fdc81c40184c8333b9d63c6ddd5",
|
||||
"GUID:301b251fd9834274c9228e0532f444f7"
|
||||
"GUID:301b251fd9834274c9228e0532f444f7",
|
||||
"GUID:bc66ece0f33b52446a0830c05781d4db"
|
||||
],
|
||||
"includePlatforms": [
|
||||
"Editor"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using UnityEditor;
|
||||
using UniGLTF;
|
||||
using UnityEditor;
|
||||
using VRM.DevOnly.PackageExporter;
|
||||
|
||||
namespace VRM
|
||||
@@ -60,6 +61,9 @@ namespace VRM
|
||||
|
||||
[MenuItem(DevelopmentMenuPrefix + "/Create UnityPackage", priority = 34)]
|
||||
private static void CreateUnityPackage() => VRMExportUnityPackage.CreateUnityPackageWithoutBuild();
|
||||
|
||||
[MenuItem(DevelopmentMenuPrefix + "/Export ShaderProps Code", priority = 35)]
|
||||
private static void ExportShaderPropertyCode() => ShaderPropMenu.PreExport();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -10,9 +10,6 @@ namespace UniGLTF
|
||||
{
|
||||
public static class ShaderPropMenu
|
||||
{
|
||||
#if VRM_DEVELOP
|
||||
[MenuItem("VRMShaders/Development/PreExport ShaderProps")]
|
||||
#endif
|
||||
public static void PreExport()
|
||||
{
|
||||
foreach (var fi in typeof(PreExportShaders).GetFields(
|
||||
|
||||
Reference in New Issue
Block a user