Version: 2023.2

ChangeChildrenOrderEventArgs

struct in UnityEditor

切换到手册

描述

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.

变量

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.

构造函数

ChangeChildrenOrderEventArgsConstructs a new instance.