C# Class SelectableList, NanoGUI

Inheritance: SelectableItem
ファイルを表示 Open project: hxflyer/NanoGUI Class Usage Examples

Protected Properties

Property Type Description
_itemAry List
_lastSelectedItem SelectableItem,
_selectedItem SelectableItem,

Public Methods

Method Description
SelectableList ( ) : System.Collections
SelectableList ( Texture texture, float textureWidth, float textureHeight ) : System.Collections
SelectableList ( Texture2D texture ) : System.Collections
addItem ( SelectableItem, item ) : void
addItemAt ( SelectableItem, item, int index ) : void
removeAllItems ( ) : void
removeItem ( SelectableItem, item ) : void
removeItemAt ( int itemIndex ) : void
selectItem ( SelectableItem, item ) : void
selectItemByIndex ( int index ) : void
unselectItem ( ) : void

Method Details

SelectableList() public method

public SelectableList ( ) : System.Collections
return System.Collections

SelectableList() public method

public SelectableList ( Texture texture, float textureWidth, float textureHeight ) : System.Collections
texture Texture
textureWidth float
textureHeight float
return System.Collections

SelectableList() public method

public SelectableList ( Texture2D texture ) : System.Collections
texture UnityEngine.Texture2D
return System.Collections

addItem() public method

public addItem ( SelectableItem, item ) : void
item SelectableItem,
return void

addItemAt() public method

public addItemAt ( SelectableItem, item, int index ) : void
item SelectableItem,
index int
return void

removeAllItems() public method

public removeAllItems ( ) : void
return void

removeItem() public method

public removeItem ( SelectableItem, item ) : void
item SelectableItem,
return void

removeItemAt() public method

public removeItemAt ( int itemIndex ) : void
itemIndex int
return void

selectItem() public method

public selectItem ( SelectableItem, item ) : void
item SelectableItem,
return void

selectItemByIndex() public method

public selectItemByIndex ( int index ) : void
index int
return void

unselectItem() public method

public unselectItem ( ) : void
return void

Property Details

_itemAry protected_oe property

protected List _itemAry
return List

_lastSelectedItem protected_oe property

protected SelectableItem, _lastSelectedItem
return SelectableItem,

_selectedItem protected_oe property

protected SelectableItem, _selectedItem
return SelectableItem,