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
Constructor | Description |
|---|---|
| ChangeGameObjectOrComponentPropertiesEventArgs(UnityEngine.EntityId,UnityEngine.SceneManagement.Scene) | Constructs a new instance. |
Properties
Property | Description |
|---|---|
| entityId | The EntityId of the modified GameObject or Component. |
| scene | The Scene that contains the GameObject associated with the change. If a Component is changed, this is the GameObject to which the component belongs. |