Пример #1
0
 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();
 }
Пример #2
0
 public override void OnEnable()
 {
     settings = ModelImport.Load();
 }