diff --git a/Runtime/CobilasResources/ResourceItem.cs b/Runtime/CobilasResources/ResourceItem.cs index a7b73c0..e9affbb 100644 --- a/Runtime/CobilasResources/ResourceItem.cs +++ b/Runtime/CobilasResources/ResourceItem.cs @@ -23,7 +23,9 @@ public void Dispose() { } public bool Equals(string other) - => other == relativePath || other == GetItemName(); + => other == relativePath || + other == relativePath.Replace("Resources/", string.Empty).Replace("Resources", string.Empty) || + other == GetItemName(); public bool Equals(Type other) { if (item == null) return false; diff --git a/com.cobilas.unity.management.resource.gpack b/com.cobilas.unity.management.resource.gpack index abd15c4..01dd7da 100644 --- a/com.cobilas.unity.management.resource.gpack +++ b/com.cobilas.unity.management.resource.gpack @@ -1,9 +1,10 @@ { "name": "com.cobilas.unity.management.resource", - "version": "1.0.8", + "version": "1.0.9", "repository": "https://github.com/BelicusBr/com.cobilas.unity.management.resource.git", "relatedPackages": [ - "1.0.8" + "1.0.8", + "1.0.9" ], "gitDependencies": [ { diff --git a/package.json b/package.json index d38beeb..45dc53b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.cobilas.unity.management.resource", - "version": "1.0.8", + "version": "1.0.9", "displayName": "Cobilas Management Resource", "description": "Pacote de gerenciamento de recursos para unity3d", "licensesUrl": "https://github.com/BelicusBr/com.cobilas.unity.management.resource/blob/main/LICENSE.md",