Skip to content

Commit

Permalink
Fixed type lookup regex
Browse files Browse the repository at this point in the history
  • Loading branch information
DerKekser committed Dec 17, 2023
1 parent 4b15977 commit 7cf06a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/Kekser/PowerSingleton/PowerSingletonManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Kekser.PowerSingleton
{
public static class PowerSingletonManager
{
private const string AssembliesToIgnoreRegex = @"^Unity\.|^UnityEngine\.|^mscorlib|^System\.|^Mono\.";
private const string AssembliesToIgnoreRegex = @"^Unity|^UnityEngine|^mscorlib|^System|^Mono";

private const string PowerSingletonNoMonoBehaviour = "PowerSingletonManager: Type {0} is not a MonoBehaviour";
private const string NoPowerSingletonAttribute = "PowerSingletonManager: No PowerSingletonAttribute for type {0}, and no instance in scene";
Expand Down
2 changes: 1 addition & 1 deletion Assets/Kekser/PowerSingleton/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "com.kekser.powersingleton",
"displayName": "PowerSingleton",
"author": { "name": "Kekser", "url": "https://github.com/DerKekser" },
"version": "1.2.2",
"version": "1.2.3",
"unity": "2020.3",
"description": "A simple singleton system for Unity",
"keywords": [ "singleton" ],
Expand Down

0 comments on commit 7cf06a0

Please sign in to comment.