Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于调试信息传递到UI设计的思考 #9

Open
MikeGrateful opened this issue Dec 11, 2022 · 1 comment
Open

关于调试信息传递到UI设计的思考 #9

MikeGrateful opened this issue Dec 11, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@MikeGrateful
Copy link
Collaborator

关于调试信息传递到UI设计的思考.
参考C#和cocos的编程理念,应该统一处理调试信息在UI上的展示逻辑,主界面设计一个事件管理器,定义一些事件类型,调试信息属于其中一种类型,其余子界面可以注册自己关注的,具体的调试信息事件。

@MikeGrateful MikeGrateful added the enhancement New feature or request label Dec 11, 2022
@MikeGrateful
Copy link
Collaborator Author

MikeGrateful commented Dec 13, 2022

目前已经构建了一个简单的通知管理器,其余的UI模块还需要接入.
因为UI加载的顺序并不一样,以及事件列表为同步通知的形式,所以,事件并不适合。改为通知,如果通知的消息不被处理,通知管理器将会一直发送该通知

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant