We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b70b666 + 27282b4 commit 9184522Copy full SHA for 9184522
Runtime/Scripts/MonoSingleton.cs
@@ -73,7 +73,7 @@ protected virtual void Awake()
73
// Initialize existing instance
74
InitializeSingleton();
75
}
76
- else
+ else if (instance != this)
77
{
78
79
// Destory duplicates
0 commit comments