From b1d06ecef5008aed5222cdfd85bfa81b3f0100bb Mon Sep 17 00:00:00 2001 From: Alex-Rachel <574809918@qq.com> Date: Tue, 25 Mar 2025 19:09:01 +0800 Subject: [PATCH] Update Singleton.cs --- .../GameScripts/HotFix/GameLogic/SingletonSystem/Singleton.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/SingletonSystem/Singleton.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/SingletonSystem/Singleton.cs index 2ba57873..7aa7aaa6 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/SingletonSystem/Singleton.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/SingletonSystem/Singleton.cs @@ -57,6 +57,8 @@ namespace GameLogic } } - protected abstract void OnRelease(); + protected virtual void OnRelease() + { + } } } \ No newline at end of file