UndoRedoCreateAction Method |
Create a new action. After this is called, do all your calls to AddDoMethod(Object, String, Object), AddUndoMethod(Object, String, Object), AddDoProperty(Object, String, Object), and AddUndoProperty(Object, String, Object), then commit the action with CommitAction.
The way actions are merged is dictated by the merge_mode argument. See UndoRedoMergeMode for details.
Namespace: Godot
public void CreateAction( string name, UndoRedoMergeMode mergeMode = UndoRedoMergeMode.Disable )
[Missing <param name="name"/> documentation for "M:Godot.UndoRedo.CreateAction(System.String,Godot.UndoRedo.MergeMode)"]
[Missing <param name="mergeMode"/> documentation for "M:Godot.UndoRedo.CreateAction(System.String,Godot.UndoRedo.MergeMode)"]