There was an error while loading. Please reload this page.
1 parent fd9ffcc commit 3dff7e6Copy full SHA for 3dff7e6
Assets/Scripts/Runtime/Singleton.cs
@@ -44,12 +44,12 @@ public static T Instance
44
{
45
get
46
47
- if (Instance == null)
+ if (instance == null)
48
49
//ensure that only one thread can execute
50
lock (typeof(T))
51
52
53
54
instance = new T();
55
instance.InitializeSingleton();
0 commit comments