Undo.RestoreSnapshot Manual     Reference     Scripting  
Scripting > Editor Classes > Undo
Undo.RestoreSnapshot

static function RestoreSnapshot () : void

Description

Restore the snapshot state made with CreateSnapshot.

This can be used if a change in progress should be canceled; for example if the user presses Escape while dragging something.