public override void OnFooterGUI() { EditorGUILayout.BeginHorizontal(); if (GUILayout.Button("+")) { settings.Add(new ModelImport()); } if (GUILayout.Button("Load")) { settings = ModelImport.Load(); CustomAssetPostprocessor.modelSettings = settings; } if (GUILayout.Button("Save")) { ModelImport.Save(settings); } EditorGUILayout.EndHorizontal(); }
public override void OnEnable() { settings = ModelImport.Load(); }