Undo and redo

08-30-2021 02:53 AM
Occasional Contributor

How to undo or redo changes on the Scene?

Tags (1)
0 Kudos
1 Reply
New Contributor III

I would approach this problem just as I would any other undo/redo requirement.

I suggest a Command Pattern implementation and using an Undo/Redo Stack. The details of the command implementation depend entirely on your needs and the nature of your proposed scene changes. So without any detail it is hard to offer much beyond the foregoing.