C# Класс EnhancedScrollerDemos.KeyControlGrid.RowCellView

This is the sub cell of the row cell
Наследование: MonoBehaviour
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
backgroundImage Image
container GameObject
selectedColor Color
someTextText Text
unselectedColor Color

Открытые методы

Метод Описание
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

Описание методов

RefreshCellView() публичный Метод

Called when the selected cell index is changed in the controller
public RefreshCellView ( ) : void
Результат void

SetData() публичный Метод

This function just takes the Demo data and displays it
public SetData ( EnhancedScrollerDemos.KeyControlGrid.Data data ) : void
data EnhancedScrollerDemos.KeyControlGrid.Data
Результат void

Описание свойств

backgroundImage публичное свойство

The background image to show the highlight if selected
public Image backgroundImage
Результат Image

container публичное свойство

public GameObject container
Результат GameObject

selectedColor публичное свойство

The color to show when the cell is selected
public Color selectedColor
Результат Color

someTextText публичное свойство

A reference to the UI Text element to display the cell data
public Text someTextText
Результат Text

unselectedColor публичное свойство

The color to show when the cell is not selected
public Color unselectedColor
Результат Color