Register the snapshot state made with CreateSnapshot so the user can later undo back to that state.
See Also: SetSnapshotTarget , CreateSnapshotTarget.
And the runtime script that works with this editor Script