Synced
EditorInteractions.BeginHistoryIsolation
Section titled “EditorInteractions.BeginHistoryIsolation”
- Starts an isolated temporary Undo and Redo branch while retaining the current editing branch.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public System.IDisposable InnoEditor.Interactions.EditorInteractions.BeginHistoryIsolation()Remarks
Section titled “Remarks”Disposing the returned scope releases every temporary operation and restores the retained branch. This host-level boundary is intended for transient editor sessions such as Play Mode.
Returns
Section titled “Returns”A scope that restores the retained history branch when disposed.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown during an Undo, Redo, transaction, or another isolated branch.