C# 클래스 Tabs, UnityFramework

상속: MonoBehaviour
파일 보기 프로젝트 열기: meta-42/uEasyKit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
activeTabButton Button
containerHeader Transform
defaultTabButton Button

보호된 프로퍼티들

프로퍼티 타입 설명
activeButtons List
callbacks List
defaultButtons List
indexLast int

공개 메소드들

메소드 설명
Awake ( ) : void

[扩展项] 被唤醒

CreateButtons ( ) : void
UpdateButtons ( ) : void

보호된 메소드들

메소드 설명
InitButton ( Button button, int index ) : void

[扩展项] 初始化页签按钮设置

OnSelectTab ( string tabName ) : void

[扩展项] 页签选择方法

메소드 상세

Awake() 공개 메소드

[扩展项] 被唤醒
public Awake ( ) : void
리턴 void

CreateButtons() 공개 메소드

public CreateButtons ( ) : void
리턴 void

InitButton() 보호된 메소드

[扩展项] 初始化页签按钮设置
protected InitButton ( Button button, int index ) : void
button Button
index int
리턴 void

OnSelectTab() 보호된 메소드

[扩展项] 页签选择方法
protected OnSelectTab ( string tabName ) : void
tabName string
리턴 void

UpdateButtons() 공개 메소드

public UpdateButtons ( ) : void
리턴 void

프로퍼티 상세

activeButtons 보호되어 있는 프로퍼티

激活状态下的Button容器
protected List
리턴 List

activeTabButton 공개적으로 프로퍼티

激活状态下的Button
public Button activeTabButton
리턴 Button

callbacks 보호되어 있는 프로퍼티

Button的Handle容器
protected List callbacks
리턴 List

containerHeader 공개적으로 프로퍼티

Header容器节点
public Transform containerHeader
리턴 Transform

defaultButtons 보호되어 있는 프로퍼티

正常状态下的Button容器
protected List
리턴 List

defaultTabButton 공개적으로 프로퍼티

正常状态下的Button
public Button defaultTabButton
리턴 Button

indexLast 보호되어 있는 프로퍼티

当前页索引
protected int indexLast
리턴 int