Undo.ClearUndo

public static void ClearUndo(Object identifier);

Description 描述

Removes all Undo operation for the identifier object registered using Undo.RegisterCompleteObjectUndo from the undo stack.