Undo.RevertAllDownToGroup

Switch to Manual
public static void RevertAllDownToGroup (int group);

Description

Performs all undo operations up to the group index without storing a redo operation in the process.

See Also: Undo.GetCurrentGroup.