Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ChangeGameObjectOrComponentPropertiesEventArgs

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.
Read time 1 minuteLast updated 5 days ago

Definition

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

Constructors

Properties

Property

Description

entityIdThe EntityId 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.