C# Class EnhancedScrollerDemos.KeyControl.CellView

This is the view of our cell which handles how the cell looks.
Inheritance: EnhancedScrollerCellView
Afficher le fichier Open project: zhuzihhhh/UnityUIFramework Class Usage Examples

Méthodes publiques

Свойство Type Description
backgroundImage Image
selectedColor Color
someTextText Text
unselectedColor Color

Méthodes publiques

Méthode Description
RefreshCellView ( ) : void

Called when the selected cell index is changed in the controller

SetData ( EnhancedScrollerDemos.KeyControl.Data data ) : void

This function just takes the Demo data and displays it

Method Details

RefreshCellView() public méthode

Called when the selected cell index is changed in the controller
public RefreshCellView ( ) : void
Résultat void

SetData() public méthode

This function just takes the Demo data and displays it
public SetData ( EnhancedScrollerDemos.KeyControl.Data data ) : void
data EnhancedScrollerDemos.KeyControl.Data
Résultat void

Property Details

backgroundImage public_oe property

The background image to show the highlight if selected
public Image backgroundImage
Résultat Image

selectedColor public_oe property

The color to show when the cell is selected
public Color selectedColor
Résultat Color

someTextText public_oe property

A reference to the UI Text element to display the cell data
public Text someTextText
Résultat Text

unselectedColor public_oe property

The color to show when the cell is not selected
public Color unselectedColor
Résultat Color