Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Properties

Property

Description

entityIdThe EntityId of the GameObject that has been created.
sceneThe scene containing the GameObject that has been created.