ChangeGameObjectStructureEventArgs
A change of this type indicates that the structure of a GameObject has changed. This happens when a component is added to or removed from the GameObject using Undo.AddComponent or Undo.DestroyObjectImmediate.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public struct ChangeGameObjectStructureEventArgs
Remarks
Note that multiple changes to the structure (e.g. multiple components added) may be represented by a single event.
Constructors
Constructor | Description |
|---|---|
| ChangeGameObjectStructureEventArgs(UnityEngine.EntityId,UnityEngine.SceneManagement.Scene) | Constructs a new instance. |
Properties
Property | Description |
|---|---|
| entityId | The EntityId of the GameObject that has been changed. |
| scene | The Scene containing the GameObject that has been changed. |