기술 자료

Unity Engine

Unity Engine

selectedIndex

Returns or sets the selected item's index in the data source. If multiple items are selected, returns the first selected item's index. If multiple items are provided, sets them all as selected. If no item is selected, returns -1.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

[CreateProperty]public int selectedIndex { get; set; }