Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ReorderTab(int, int)

Moves the tab from the specified index to a new index.
Read time 1 minuteLast updated 10 days 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.