Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | SIsilicon |
I’m making editor plugins pretty well.
It’s just recently I started to add gui stuff in them. Like a button.
The button in my scenario does something to the scene. Which is great! Except there is no way to undo it, let alone redo it.
Which is why I started looking into theUndoRedo
class. The functions and their descriptions aren’t explaining enough for me. Do you know anything else about this class that I need to know when making an editor plugin?
https://github.com/godotengine/godot/blob/master/editor/rename_dialog.cpp#L614-L635
it’s cpp codes but you can get the concept, I think.
volzhs | 2018-06-19 13:23
I understand now. ありがとう!(Thank you!)
SIsilicon | 2018-06-19 14:03