文档

Unity Engine

Unity Engine

FlushUndoRecordObjects()

Ensure objects recorded using Undo.RecordObject or Undo.RecordObjects are registered as an undoable action. In most cases there is no reason to invoke Undo.FlushUndoRecordObjects since it's automatically done right after mouse-up and certain other events that conventionally marks the end of an action.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void FlushUndoRecordObjects()