Version: 2023.1

Undo.SetSiblingIndex

切换到手册
public static void SetSiblingIndex (Transform transform, int siblingIndex, string name);

参数

transform Transform that will have its sibling index changed.
siblingIndex New sibling index.
name Undo operation name.

描述

Sets the sibling index of transform and records an undo operation.