This version of Unity is unsupported.

Undo.ClearAll

Declaration

public static void ClearAll();

Description

Removes all undo and redo operations from respectively the undo and redo stacks.