Undo.SetSiblingIndex

Declaration

public static void SetSiblingIndex(Transform transform, int siblingIndex, string name);

Parameters

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

Description

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


Did you find this page useful? Please give it a rating: