From e0fd65071e1a08713b9ee2b1b5b148b76238cd9f Mon Sep 17 00:00:00 2001 From: CaicukunChiji Date: Wed, 9 Jul 2025 17:22:17 +0800 Subject: [PATCH] (client) chore:Mark Singleton class as an abstract class --- Client/Assets/Scripts/Utils/Singleton.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/Assets/Scripts/Utils/Singleton.cs b/Client/Assets/Scripts/Utils/Singleton.cs index cb034c0..1e24263 100644 --- a/Client/Assets/Scripts/Utils/Singleton.cs +++ b/Client/Assets/Scripts/Utils/Singleton.cs @@ -1,6 +1,6 @@ namespace Utils { - public class Singleton where T : new() + public abstract class Singleton where T : new() { private static T _instance; public static T Instance => _instance ??= new T();