文档

Unity Engine


Unity Engine


UndoRedoInfo

Additional Resources: Undo.undoRedoEvent.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Struct
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public struct UndoRedoInfo

Fields

Value

Description

undoGroupThe undo group that the undo or redo event came from.
undoNameThe name of the undo or redo event that has been performed.

Properties

Property

Description

isRedoIndicates whether the UndoRedoEvent is an undo or redo event. isRedo is true if the event is a Redo event.