文档

Unity Engine


User Manual

Script Reference

Unity Engine


ChangeChildrenOrderEventArgs

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

Definition

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

ChangeChildrenOrderEventArgs(EntityId, Scene)

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

Parameters

entityId


scene

The Scene containing the GameObject whose children were reordered.

ChangeChildrenOrderEventArgs(int, Scene)

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

Parameters

instanceId

The instance ID of the parent GameObject whose children have been reordered. Note that this is not the instance ID of the Transform component.

scene

The Scene containing the GameObject whose children were reordered.