#UnityTips Here is an easy way to implement a undo / redo mechanic.
When you move your element create a new instance of a MoveElementCommand and add it to the CommandController.
After that you can call UndoCommand on it.
Refer to our example in the image 👇#gamedev #indiedev pic.twitter.com/qlHyRiUjUq
— Binary Impact (@BinaryImpactG) June 21, 2022