Undo History Panel like in Photoshop

In the Edit menu of the Unity Editor you can see the single last action and single last undone action. Most of the time that spot will be taken by “Undo Selection Change”.

In Adobe software such as Photoshop there is History Panel that lists the last several actions. You can jump back and forth multiple steps and save snapshots.

I was on my way to create my own History Panel. Unfortunately after digging through the Unity Editor API I can’t find any suitable callbacks or a method that lists the undo stack.

Is it possible to create such a History Panel with the current API? Or should I file a feature request at the Feedback site? I’m not sure what such a feature request should contain, whether I should suggest the History Panel or API changes so we can make our own.

It doesn’t look like you can hook into the undo stack via API that easily. For example, it has the notion of “groups” together with a group index, and each and every mouse click increments the group index. But on the actual undo stack, nothing changes because you actually didn’t do anything. It’s also not possible to get information on the actual undo stack itself, such as previous actions that could be undone or just listed in a window. There’s definitely some API missing here to be able to hook into the system.

1 Like

Thanks blizzy. You encouraged me to post the idea on the Feedback site.

http://feedback.unity3d.com/suggestions/undo-stack-api-and-slash-or-a-history-panel

Thanks, I’ve dumped some votes on it.