C# Class UIUtil, UnityFramework

ui相关工具类 作者:于小懒
Datei anzeigen Open project: meta-42/uEasyKit Class Usage Examples

Public Methods

Method Description
ClearUICache ( ) : void

清理UI缓存

CreateUI ( string pfbName, Transform parent, UnityAction func ) : void

创建面板,请求资源管理器

ShowDialogbox ( string content, UnityAction confirmFunc ) : void

显示对话窗

ShowTips ( string content ) : void

显示提示窗

Method Details

ClearUICache() public static method

清理UI缓存
public static ClearUICache ( ) : void
return void

CreateUI() public static method

创建面板,请求资源管理器
public static CreateUI ( string pfbName, Transform parent, UnityAction func ) : void
pfbName string
parent Transform
func UnityAction
return void

ShowDialogbox() public static method

显示对话窗
public static ShowDialogbox ( string content, UnityAction confirmFunc ) : void
content string
confirmFunc UnityAction
return void

ShowTips() public static method

显示提示窗
public static ShowTips ( string content ) : void
content string
return void