CreateGameObjectHierarchyEventArgs
A change of this type indicates that a GameObject has been created, possibly with additional objects below it in the hierarchy. This happens for example when Undo.RegisterCreatedObjectUndo is used with a GameObject.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Struct
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public struct CreateGameObjectHierarchyEventArgs
Constructors
Constructor | Description |
|---|---|
| CreateGameObjectHierarchyEventArgs(UnityEngine.EntityId,UnityEngine.SceneManagement.Scene) | Constructs a new instance. |
Properties
Property | Description |
|---|---|
| entityId | The EntityId of the GameObject that has been created. |
| scene | The scene containing the GameObject that has been created. |