• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

UI管理器

任务:

1.所有面板的父类,2。UIMgr

所有UI控件都继承UIBehaviour。

image

面板基类

找到相应空间

image

简化后

image

还有一个问题:一个对象可以同时挂载两个组件,导致键相同但值不同,

将值更改为listUIBehaviour,开始唤醒时间会更早。

image

得到对应的控件脚本

image

显示自己和隐藏自己

登录面板

image

UIMgr

管理所有显示的面板。

提供外部显示和隐藏面板的功能。

存放面板

private Dictionarystring,base panel panel DIC=new dictionary string,base panel();

显示面板

将一些用户界面面板设置为预制组件

image

画布需要的参数

image

代码

初始化

image

image

显示面板

image

image

隐藏面板

image

Link to comment
Share on other sites