Exemple #1
0
        /// <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
            }
        }
Exemple #2
0
 public static void ExportMenu()
 {
     VgoExportProcessor.ExportVgo();
 }