예제 #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();
 }