文档

Unity Engine

Unity Engine

ChangeGameObjectStructureHierarchyEventArgs

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

Definition

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

ChangeGameObjectStructureHierarchyEventArgs(EntityId, Scene)

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

Parameters

entityId


scene

The Scene containing the GameObject that has been changed.

ChangeGameObjectStructureHierarchyEventArgs(int, Scene)

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

Parameters

instanceId

The instance ID of the GameObject that has been changed.

scene

The Scene containing the GameObject that has been changed.