Skip to content

Commit 7cf06a0

Browse files
committed
Fixed type lookup regex
1 parent 4b15977 commit 7cf06a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Assets/Kekser/PowerSingleton/PowerSingletonManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Kekser.PowerSingleton
1010
{
1111
public static class PowerSingletonManager
1212
{
13-
private const string AssembliesToIgnoreRegex = @"^Unity\.|^UnityEngine\.|^mscorlib|^System\.|^Mono\.";
13+
private const string AssembliesToIgnoreRegex = @"^Unity|^UnityEngine|^mscorlib|^System|^Mono";
1414

1515
private const string PowerSingletonNoMonoBehaviour = "PowerSingletonManager: Type {0} is not a MonoBehaviour";
1616
private const string NoPowerSingletonAttribute = "PowerSingletonManager: No PowerSingletonAttribute for type {0}, and no instance in scene";

Assets/Kekser/PowerSingleton/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "com.kekser.powersingleton",
33
"displayName": "PowerSingleton",
44
"author": { "name": "Kekser", "url": "https://github.com/DerKekser" },
5-
"version": "1.2.2",
5+
"version": "1.2.3",
66
"unity": "2020.3",
77
"description": "A simple singleton system for Unity",
88
"keywords": [ "singleton" ],

0 commit comments

Comments
 (0)