CreateGameObjectHierarchyEventArgs

struct in UnityEditor

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.

Properties

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

Constructors

CreateGameObjectHierarchyEventArgsConstructs a new instance.

Did you find this page useful? Please give it a rating: