文档

Unity Engine

Unity Engine

SelectionType

Controls how many items can be selected at once.
阅读时间1 分钟最后更新于 1 个月前

Definition

public enum SelectionType

Remarks

Used by BaseVerticalCollectionView and its inheritors including ListView, TreeView, MultiColumnListView and MultiColumnTreeView. Set the view's
selectionType
property as one of these values to control how many items can be selected at once.

Fields

Value

Description

MultipleMultiple items are selectable at once.
NoneSelections are disabled.
SingleOnly one item is selectable.