Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateGameObjectHierarchyEventArgs

Constructs a new instance.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

CreateGameObjectHierarchyEventArgs(EntityId, Scene)

Constructs a new instance.
public CreateGameObjectHierarchyEventArgs(EntityId entityId, Scene scene)

Parameters

entityId


scene

The scene containing the GameObject that has been created.

CreateGameObjectHierarchyEventArgs(int, Scene)

Constructs a new instance.
Warning
Removed. CreateGameObjectHierarchyEventArgs(int instanceId, Scene scene) is deprecated. Use CreateGameObjectHierarchyEventArgs(EntityId entityId, Scene scene) instead.
public CreateGameObjectHierarchyEventArgs(int instanceId, Scene scene)

Parameters

instanceId

The instance ID of the GameObject that has been created.

scene

The scene containing the GameObject that has been created.