Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateGameObjectHierarchyEventArgs(int, Scene)

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

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.