diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-16 09:41:36 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-16 09:41:36 +0100 |
commit | f96701eda634b37c74b2ab61fa396f3e29ff0cd6 (patch) | |
tree | 4880cc22338c3cf488660f2cf4065aed4dbcb9b6 /doc/classes/UndoRedo.xml | |
parent | 2d214c8881c8892a4d1529128df4c482fcb15c0d (diff) | |
parent | a4c734ed32c1714b32aef6c56a06504778469c9e (diff) |
Merge pull request #71461 from snoopdouglas/snoopdouglas/master
Class reference: snake_case .tscn & .gd filenames, _on_* callbacks
Diffstat (limited to 'doc/classes/UndoRedo.xml')
-rw-r--r-- | doc/classes/UndoRedo.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/UndoRedo.xml b/doc/classes/UndoRedo.xml index 7258efbdda..42baf7728d 100644 --- a/doc/classes/UndoRedo.xml +++ b/doc/classes/UndoRedo.xml @@ -17,7 +17,7 @@ func undo_something(): pass # Put here the code that reverts what's done by "do_something()". - func _on_MyButton_pressed(): + func _on_my_button_pressed(): var node = get_node("MyNode2D") undo_redo.create_action("Move the node") undo_redo.add_do_method(self, "do_something") |