TH1/Unity/Assets/Scripts/Hotfix/Share/Module/Numeric/NumericChangeEvent_NotifyWatcher.cs
2025-07-17 18:26:28 +08:00

14 lines
384 B
C#

namespace ET
{
// 分发数值监听
[Event(SceneType.All)] // 服务端Map需要分发, 客户端CurrentScene也要分发
public class NumericChangeEvent_NotifyWatcher: AEvent<Scene, NumbericChange>
{
protected override async ETTask Run(Scene scene, NumbericChange args)
{
NumericWatcherComponent.Instance.Run(args.Unit, args);
await ETTask.CompletedTask;
}
}
}