脚本/功能 【更新】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

发布7458

热门作品推荐
glow
【更新】Exporter for Unreal tofor Unity
glow
中国古风家具30个中式古代灯笼吊灯宫灯台灯
glow
Frozen GUI Pack 1.7 冬季冰雪主题游戏UI界
glow
中国风古典边框中式花纹样祥云PSD图案PNG素
glow
Sand VFX 适配UE5.0+风沙漠沙子撞击沙地冲
glow
Voyager Third Person Shooter V2 2.0.1 适
glow
Tornado Generator - Niagara Fluids 适配U
glow
Nuclear winter 适配UE5.2+末日后世界苏联
glow
Snapping Helper 1.41 适配UE5.5
glow
High school Science Lab Classroom - 90&#