文档

Unity Engine

Unity Engine

UndoPropertyModification

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

Definition

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

Fields

Value

Description

currentValueThe current value of the modified property. Additional Resources: PropertyModification.
previousValueThe previous value of the modified property. Additional Resources: PropertyModification .

Properties

Property

Description

keepPrefabOverrideIndicates whether to retain modifications when the targeted object is an instance of a Prefab.