We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71b0892 commit c20263bCopy full SHA for c20263b
Runtime/ScriptableSingleton.cs
@@ -47,7 +47,7 @@ protected virtual void Awake()
47
if (_Instance != null && _Instance != this)
48
{
49
Debug.LogError($"An instance of {typeof(TObject)} already exist.");
50
- DestroyImmediate(this);
+ DestroyImmediate(this, true);
51
}
52
53
#endif
package.json
@@ -2,7 +2,7 @@
2
"name": "net.abrusle.scriptable-singletons",
3
"displayName":"Scriptable Singletons",
4
"description":"Easy to use singleton implementation for ScriptableObjects in Unity.",
5
- "version": "1.0.0",
+ "version": "1.0.1",
6
"unity":"2019.1",
7
"author": {
8
"name": "Abrusle",
0 commit comments