From ab477cbb77899740d69fcced37d623987c10f0e3 Mon Sep 17 00:00:00 2001 From: Stanislav Osipov Date: Wed, 17 Jul 2024 16:48:33 +0300 Subject: [PATCH] chore: MonoSingleton -> Instantiate method is back to public to prevent backward compatibility ptoblems. --- Runtime/Patterns/Singleton/MonoSingleton.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Patterns/Singleton/MonoSingleton.cs b/Runtime/Patterns/Singleton/MonoSingleton.cs index efb271f..0198b7f 100644 --- a/Runtime/Patterns/Singleton/MonoSingleton.cs +++ b/Runtime/Patterns/Singleton/MonoSingleton.cs @@ -55,7 +55,7 @@ public static T Instance /// But it may be useful if you want manually control when the instance is created, /// even if you do not this specific instance at the moment /// - static void Instantiate() + public static void Instantiate() { if (HasInstance) {