ドキュメント

Unity Engine

Unity Engine

SetSelectionById

Sets the currently selected item by id.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

SetSelectionById(int)

Sets the currently selected item by id.
public void SetSelectionById(int id)

Parameters

id

The item id.

Remarks

This will also expand the selected item if not expanded already.

SetSelectionById(IEnumerable<int>)

Sets a collection of selected items by ids.
public void SetSelectionById(IEnumerable<int> ids)

Parameters

The item ids.

Remarks

This will also expand the selected items if not expanded already.