Summary

A system that aims to wrap the main reusable functionality of an undo system

Fields

OnRedo Called when a redo is run
OnUndo Called when an undo is run

Properties

Back Backwards stack
Forward Forwards stack, gets cleared when a new undo is added

Methods

Initialize Clear the history and take an initial snapshot. You should call this right after a load, or a new project.
Insert
Redo Instigate a redo, returns true if we found a successful undo
SetSnapshotFunction
Snapshot
Undo Instigate an undo. Return true if we found a successful undo
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.