C# Class Tabs, UnityFramework

Inheritance: MonoBehaviour
ファイルを表示 Open project: meta-42/uEasyKit Class Usage Examples

Public Properties

Property Type Description
activeTabButton Button
containerHeader Transform
defaultTabButton Button

Protected Properties

Property Type Description
activeButtons List
callbacks List
defaultButtons List
indexLast int

Public Methods

Method Description
Awake ( ) : void

[扩展项] 被唤醒

CreateButtons ( ) : void
UpdateButtons ( ) : void

Protected Methods

Method Description
InitButton ( Button button, int index ) : void

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

OnSelectTab ( string tabName ) : void

[扩展项] 页签选择方法

Method Details

Awake() public method

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

CreateButtons() public method

public CreateButtons ( ) : void
return void

InitButton() protected method

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

OnSelectTab() protected method

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

UpdateButtons() public method

public UpdateButtons ( ) : void
return void

Property Details

activeButtons protected_oe property

激活状态下的Button容器
protected List
return List

activeTabButton public_oe property

激活状态下的Button
public Button activeTabButton
return Button

callbacks protected_oe property

Button的Handle容器
protected List callbacks
return List

containerHeader public_oe property

Header容器节点
public Transform containerHeader
return Transform

defaultButtons protected_oe property

正常状态下的Button容器
protected List
return List

defaultTabButton public_oe property

正常状态下的Button
public Button defaultTabButton
return Button

indexLast protected_oe property

当前页索引
protected int indexLast
return int