This version of Unity is unsupported.

Undo.ClearAll

public static void ClearAll();

Description

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