Unity Engine documentationScript ReferenceUnityEditorUndoClearAll()Removes all undo and redo operations from respectively the undo and redo stacks.阅读时间1 分钟最后更新于 1 个月前Definition Type: Method Namespace: UnityEditor Assembly: UnityEditor public static void ClearAll()