- 消息类型通过枚举和静态类型字段定义。
- 可编译期检查参数合法性。
- 支持同步(SendMessage)和异步(PostMessage)发送消息。
- SendMessage 不产生GC.Alloc。
- 能够保证回调函数不被重复注册。
- 消息数据通过参数传递,无需为每个消息定义消息体类型。
- 支持移除指定对象的所有回调。
- 支持不定参数类型的调用(性能较差且参数个数要与定义一致)。
forked from Misaka-Mikoto-Tech/MessageCenter
-
Notifications
You must be signed in to change notification settings - Fork 0
Message Center for Unity
License
hanbim520/MessageCenter
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Message Center for Unity
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C# 100.0%