/// <summary> /// /// </summary> public override void OnInspectorGUI() { // Script //base.OnInspectorGUI(); serializedObject.Update(); // Meta //EditorGUILayout.LabelField(_MetaProperty.name, EditorStyles.boldLabel); EditorGUI.BeginDisabledGroup(true); SetPropertyFields(_MetaProperty, new string[] { "generatorName", "generatorVersion", "specVersion", }); EditorGUI.EndDisabledGroup(); EditorGUILayout.Space(); // Export Button if (GUILayout.Button("Export VGO")) { #if UNITY_EDITOR_WIN VgoExportProcessor.ExportVgo(); #endif } }
public static void ExportMenu() { VgoExportProcessor.ExportVgo(); }