C# Class EnhancedScrollerDemos.KeyControlGrid.RowCellView

This is the sub cell of the row cell
Inheritance: MonoBehaviour
显示文件 Open project: zhuzihhhh/UnityUIFramework

Public Properties

Property Type Description
backgroundImage Image
container GameObject
selectedColor Color
someTextText Text
unselectedColor Color

Public Methods

Method Description
RefreshCellView ( ) : void

Called when the selected cell index is changed in the controller

SetData ( EnhancedScrollerDemos.KeyControlGrid.Data data ) : void

This function just takes the Demo data and displays it

Method Details

RefreshCellView() public method

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

SetData() public method

This function just takes the Demo data and displays it
public SetData ( EnhancedScrollerDemos.KeyControlGrid.Data data ) : void
data EnhancedScrollerDemos.KeyControlGrid.Data
return void

Property Details

backgroundImage public_oe property

The background image to show the highlight if selected
public Image backgroundImage
return Image

container public_oe property

public GameObject container
return GameObject

selectedColor public_oe property

The color to show when the cell is selected
public Color selectedColor
return Color

someTextText public_oe property

A reference to the UI Text element to display the cell data
public Text someTextText
return Text

unselectedColor public_oe property

The color to show when the cell is not selected
public Color unselectedColor
return Color