脚本/功能 【更新】Event System - Dispatcher 1.646

Unity插件信息
插件名称: Event System - Dispatcher
插件官网: https://assetstore.unity.com/packages/tools/integration/event-system-dispatcher-12715
版本: 1.646
解压密码:
素材类型: 脚本/功能



Event and message dispatching is a critical part of any game. Message dispatching ensures that game objects are able to communicate in a consistent, reliable, and efficient way.

Dispatcher does this and makes it easy too! Simply tell the Dispatcher what an object wants to listen for. When another object sends that message to the Dispatcher, the Dispatcher will ensure all the "listeners" are notified.

Features
* Create and send custom message types
* Send messages containing custom data
* Send messages to everyone
* Send messages to objects based on their name
* Send messages to objects based on their tag
* Send messages to objects based on a string
* Send a message immediately
* Send a message at the next frame
* Schedule a message for the future
* Connect multiple listeners to a single message
* High performance



事件和消息派发是任何游戏的关键部分。消息派发可确保游戏对象以一致、可靠和高效的方式进行通信。

Dispatcher 可以做到这一点,而且还很简单!只需告诉调度程序某个对象想要监听什么信息。当另一个对象向调度程序发送该消息时,调度程序将确保通知所有 "监听者"。

功能
* 创建和发送自定义消息类型
* 发送包含自定义数据的消息
* 向所有人发送消息
* 根据对象名称向对象发送消息
* 根据标签向对象发送信息
* 根据字符串向对象发送信息
* 立即发送信息
* 在下一帧发送信息
* 为未来安排一条信息
* 将多个监听器连接到一条信息
* 高性能



作者 cg小白兔 发表于 2024-6-28 15:44:14
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布8211

热门作品推荐
glow
TriLib 2 - Model Loading Package 2.1.6
glow
Trails FX 1.6.2 平滑轨迹 拖尾特效
glow
金属边缘受损破损皮革Layering old metal,
glow
逼真低多边形岩石包Game and render ready
glow
高质量无缝地形岩石雕刻笔刷Ultra HQ Terra
glow
40种恐龙爬行动物鳄鱼皮肤笔刷 40 Dragons
glow
Procedural Forest 适配UE5.0枯木冬季森林
glow
【更新】DunGen 2.17.4地牢生成工具
glow
80个昆虫生物画笔Zbrush + Blender - 80 In
glow
【更新】Best HTTP 3.0.13