ChangeGameObjectOrComponentPropertiesEventArgs

struct in UnityEditor

Switch to Manual

Description

A change of this type indicates that a property of a GameObject or Component has changed. This happens for example when Undo.RecordObject is used with an instance of a Component.

Variables

instanceIdThe instance ID of the modified GameObject or Component.
sceneThe Scene that contains the GameObject associated with the change. If a Component is changed, this is the GameObject to which the component belongs.

Constructors

ChangeGameObjectOrComponentPropertiesEventArgsConstructs a new instance.