Summary

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

Constructors

UndoSystem

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 Insert a new undo entry
Redo Instigate a redo, returns true if we found a successful undo
SetSnapshotFunctionobsolete
Snapshotobsolete Should be called after you make a change to your project. The snapshot system is good for self contained projects that can be serialized and deserialized quickly.
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.