Skip to content

Commit

Permalink
#Update-vs1.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
BelicusBr committed Sep 5, 2022
1 parent b4ee32e commit e88fda6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Runtime/CobilasResources/ResourceItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 3 additions & 2 deletions com.cobilas.unity.management.resource.gpack
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit e88fda6

Please sign in to comment.