UndoBeginRecordGraph(string)
Signals the beginning of an undoable operation.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public void UndoBeginRecordGraph(string actionName)
Parameters
The name of the operation, which is displayed in the undo menu.
Remarks
Call this before you trigger a sequence of graph modification methods to record those operations to the undo stack. Call Graph.UndoEndRecordGraph after the sequence to signal that the operation is complete.
Throws if there is no undo operation currently registered to the Graph.
InvalidOperationException