Skip to content

Commit 45ce023

Browse files
committed
cleanup
1 parent e189e3b commit 45ce023

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Editor/Scripts/AssetHandle.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@ public static AssetHandle CreateFromUrl(string url, string title, out string err
124124

125125
public static AssetHandle CreateFromMenuPath(string menuPath, string title, out string error)
126126
{
127-
AssetHandle urlHandle = new AssetHandle
127+
AssetHandle menuItemHandle = new AssetHandle
128128
{
129129
_category = AssetCategory.MenuItem,
130130
_guid = menuPath,
131131
_fallbackName = title ?? string.Empty,
132132
};
133133

134134
error = null;
135-
return urlHandle;
135+
return menuItemHandle;
136136
}
137137

138138
public static void ForceSaveLocalCache()

Editor/Scripts/AssetQuickAccessLocalCache.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public bool AddUrls(IEnumerable<(string url, string title)> urlInfos, ref String
184184
return added;
185185
}
186186

187-
public bool AddMenuItems(IEnumerable<(string url, string title)> menuItemInfos, ref StringBuilder errorsBuilder, bool clearErrorsBuilder)
187+
public bool AddMenuItems(IEnumerable<(string menuPath, string title)> menuItemInfos, ref StringBuilder errorsBuilder, bool clearErrorsBuilder)
188188
{
189189
if (clearErrorsBuilder)
190190
{

0 commit comments

Comments
 (0)