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
Constructor | Description |
|---|---|
| ChangeChildrenOrderEventArgs(System.Int32,UnityEngine.SceneManagement.Scene) | Constructs a new instance. |
Properties
Property | Description |
|---|---|
| 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. |