C# 클래스 EnhancedScrollerDemos.KeyControl.CellView

This is the view of our cell which handles how the cell looks.
상속: EnhancedScrollerCellView
파일 보기 프로젝트 열기: zhuzihhhh/UnityUIFramework 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
backgroundImage Image
selectedColor Color
someTextText Text
unselectedColor Color

공개 메소드들

메소드 설명
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

메소드 상세

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.KeyControl.Data data ) : void
data EnhancedScrollerDemos.KeyControl.Data
리턴 void

프로퍼티 상세

backgroundImage 공개적으로 프로퍼티

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

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