Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ChangeChildrenOrderEventArgs

A change of this type indicates that a GameObject's children have been reordered. This happens when Undo.RegisterChildrenOrderUndo is called or when reordering a child in the hierarchy under the same parent.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Struct
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public struct ChangeChildrenOrderEventArgs

Constructors

Properties

Property

Description

instanceIdThe instance ID of the parent GameObject whose children have been reordered. Note that this is not the instance ID of the Transform component.
sceneThe Scene containing the GameObject whose children were reordered.