Documentation

Unity Engine

Unity Engine

ReorderTab(int, int)

Moves the tab from the specified index to a new index.
Read time 1 minuteLast updated 2 months ago

Definition

public void ReorderTab(int from, int to)

Parameters

from

The current index of the tab to move.

to

The target index to move the tab to.

Remarks

If the TabView contains a view-data-key, reorder the tab only after the view data is applied. Otherwise, the view data will override the order.