Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 11 days ago

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.