Game Framework  2021.05.31
IUIGroup接口 参考

界面组接口。 更多...

Public 成员函数

bool HasUIForm (int serialId)
 界面组中是否存在界面。 更多...
 
bool HasUIForm (string uiFormAssetName)
 界面组中是否存在界面。 更多...
 
IUIForm GetUIForm (int serialId)
 从界面组中获取界面。 更多...
 
IUIForm GetUIForm (string uiFormAssetName)
 从界面组中获取界面。 更多...
 
IUIForm[] GetUIForms (string uiFormAssetName)
 从界面组中获取界面。 更多...
 
void GetUIForms (string uiFormAssetName, List< IUIForm > results)
 从界面组中获取界面。 更多...
 
IUIForm[] GetAllUIForms ()
 从界面组中获取所有界面。 更多...
 
void GetAllUIForms (List< IUIForm > results)
 从界面组中获取所有界面。 更多...
 

属性

string Name [get]
 获取界面组名称。 更多...
 
int Depth [get, set]
 获取或设置界面组深度。 更多...
 
bool Pause [get, set]
 获取或设置界面组是否暂停。 更多...
 
int UIFormCount [get]
 获取界面组中界面数量。 更多...
 
IUIForm CurrentUIForm [get]
 获取当前界面。 更多...
 
IUIGroupHelper Helper [get]
 获取界面组辅助器。 更多...
 

详细描述

界面组接口。

成员函数说明

◆ GetAllUIForms() [1/2]

IUIForm [] GetAllUIForms ( )

从界面组中获取所有界面。

返回
界面组中的所有界面。

◆ GetAllUIForms() [2/2]

void GetAllUIForms ( List< IUIForm results)

从界面组中获取所有界面。

参数
results界面组中的所有界面。

◆ GetUIForm() [1/2]

IUIForm GetUIForm ( int  serialId)

从界面组中获取界面。

参数
serialId界面序列编号。
返回
要获取的界面。

◆ GetUIForm() [2/2]

IUIForm GetUIForm ( string  uiFormAssetName)

从界面组中获取界面。

参数
uiFormAssetName界面资源名称。
返回
要获取的界面。

◆ GetUIForms() [1/2]

IUIForm [] GetUIForms ( string  uiFormAssetName)

从界面组中获取界面。

参数
uiFormAssetName界面资源名称。
返回
要获取的界面。

◆ GetUIForms() [2/2]

void GetUIForms ( string  uiFormAssetName,
List< IUIForm results 
)

从界面组中获取界面。

参数
uiFormAssetName界面资源名称。
results要获取的界面。

◆ HasUIForm() [1/2]

bool HasUIForm ( int  serialId)

界面组中是否存在界面。

参数
serialId界面序列编号。
返回
界面组中是否存在界面。

◆ HasUIForm() [2/2]

bool HasUIForm ( string  uiFormAssetName)

界面组中是否存在界面。

参数
uiFormAssetName界面资源名称。
返回
界面组中是否存在界面。

属性说明

◆ CurrentUIForm

IUIForm CurrentUIForm
get

获取当前界面。

◆ Depth

int Depth
getset

获取或设置界面组深度。

◆ Helper

IUIGroupHelper Helper
get

获取界面组辅助器。

◆ Name

string Name
get

获取界面组名称。

◆ Pause

bool Pause
getset

获取或设置界面组是否暂停。

◆ UIFormCount

int UIFormCount
get

获取界面组中界面数量。