private void OnRemoveImporterProcess(T importer) { UndoHelper.CustomImporterUndo(Data, UndoHelper.UNDO_DELETESETTING); CustomImporterSettings.Remove(importer); Initialize(); EditorGUIUtility.keyboardControl = 0; }
private void OnAddImporterProcess(T importer) { UndoHelper.CustomImporterUndo(Data, UndoHelper.UNDO_ADDSETTING); CustomImporterSettings.Add(importer); Initialize(); EditorGUIUtility.keyboardControl = 0; }
protected override void Draw() { UndoHelper.CustomImporterUndo <T, U>(Data, UndoHelper.UNDO_CHANGESETTING); EditorGUILayout.BeginVertical(); { Header(); Main(); } EditorGUILayout.EndVertical(); CheckIsContextClicked(); }