文档

Unity Engine

Unity Engine

CreateGameObjectHierarchyEventArgs

Constructs a new instance.
阅读时间1 分钟最后更新于 1 个月前

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.
警告
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.