csharp
public sealed class SetOverriddenCommandTurning one member's override on or off for one target.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (1)
public string NameWhat this is called in the undo history, as a person would say it.
Methods (4)
public SetOverriddenCommand(ImportSettingsDocument document, TargetOverride row, string member, bool overridden)Describes marking or unmarking a member.
public void Do(EditorContext context)Applies the change.
public void Undo(EditorContext context)Puts back exactly what Do changed.
public bool TryMergeWith(IEditorCommand previous, out IEditorCommand? merged)Absorbs the entry below this one, so that the two become one undo step.
Used by (1)
- ImportSettingsDocumentVixen.Editor.AssetEditors