Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UndoPropertyModification

Additional Resources: Undo.postprocessModifications.
Read time 1 minuteLast updated 5 days ago

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.