文档

Unity Engine

Unity Engine

ChangeRootOrderEventArgs(int, Scene)

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

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public ChangeRootOrderEventArgs(int instanceId, Scene scene)

Parameters

instanceId

The instance ID of the GameObject being reordered. Note that this is not the instance ID of the Transform component.

scene

The Scene containing the GameObject whose root order index was changed.