From 2afbb545027568fccc85853e18af02a7c6b2929e Mon Sep 17 00:00:00 2001 From: chai <215380520@qq.com> Date: Tue, 16 May 2023 16:03:51 +0800 Subject: *misc --- .../Assets/Scripts/Tools/Notification/NotificationCenter.cs | 2 +- .../Assets/Scripts/Tools/Notification/ScopedNotification.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'WorldlineKeepers/Assets/Scripts/Tools/Notification') diff --git a/WorldlineKeepers/Assets/Scripts/Tools/Notification/NotificationCenter.cs b/WorldlineKeepers/Assets/Scripts/Tools/Notification/NotificationCenter.cs index bb4e08e..4e52656 100644 --- a/WorldlineKeepers/Assets/Scripts/Tools/Notification/NotificationCenter.cs +++ b/WorldlineKeepers/Assets/Scripts/Tools/Notification/NotificationCenter.cs @@ -5,7 +5,7 @@ using UnityEngine; namespace WK { - public class NotificationCenter : Singleton + public sealed class NotificationCenter : Singleton { public delegate void NotificatonHandler(params object[] args); diff --git a/WorldlineKeepers/Assets/Scripts/Tools/Notification/ScopedNotification.cs b/WorldlineKeepers/Assets/Scripts/Tools/Notification/ScopedNotification.cs index 0002f14..5a1171e 100644 --- a/WorldlineKeepers/Assets/Scripts/Tools/Notification/ScopedNotification.cs +++ b/WorldlineKeepers/Assets/Scripts/Tools/Notification/ScopedNotification.cs @@ -5,6 +5,9 @@ using UnityEngine; namespace WK { + /// + /// 作用域范围的消息通知 + /// public class ScopedNotification { public delegate void NotificatonHandler(params object[] args); -- cgit v1.1-26-g67d0