CreateGameObjectHierarchyEventArgs

struct in UnityEditor

Switch to Manual

Description

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.

Variables

instanceIdThe instance ID of the GameObject that has been created.
sceneThe scene containing the GameObject that has been created.

Constructors

CreateGameObjectHierarchyEventArgsConstructs a new instance.