文档

Unity Engine

Unity Engine

ReorderTab(int, int)

Moves the tab from the specified index to a new index.
阅读时间1 分钟最后更新于 1 个月前

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.