This is a paid asset, but now you can download Time Machine: Undo-Redo Scripts Free.
Detail this asset from Unity Store: Original Link
Time Machine: Undo-Redo Scripts v1.0.1
“If possible, please buy the package to support the developer”
Time Machine is a convenient Undo/Redo script package for Unity that allows you to easily and quickly perform commands/actions that can be undone or redone. It comes with a general command that can be used to set variables or properties on any Unity Component. It also has examples of how to write custom undo/redo commands, and a level demonstrating how to use Time Machine. Advanced usage of these scripts requires some C# scripting knowledge.
* Add Undo/Redo support to your game. Such as in game editors, advanced customatization screens, and more!
* Add Undo/Redo support to your in house Unity tools!