文档

Unity Engine

Unity Engine

ChangeRootOrderEventArgs

A change of this type indicates that a GameObject placed at the scene root has been reordered. This happens when Undo.SetSiblingIndex is called or when reordering a root GameObject in the hierarchy under the same parent.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Struct
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public struct ChangeRootOrderEventArgs

Constructors

Properties

Property

Description

entityIdThe EntityId of the GameObject being reordered. Note that this is not the EntityId of the Transform component.
sceneThe Scene containing the GameObject whose root order index was changed.