Function UndoRedo.addDoMethod

Register a method that will be called when the action is committed.

void addDoMethod(VarArgs...) (
  GodotObject object,
  in String method,
  VarArgs varArgs
);