Skip to content

Commit

Permalink
feat: Update context menu & update preview image
Browse files Browse the repository at this point in the history
  • Loading branch information
SolarianZ committed May 11, 2024
1 parent a1dfd77 commit 0da8722
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Binary file modified Documents~/imgs/img_sample_asset_quick_access_window.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion Editor/Scripts/AssetQuickAccessWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,19 @@ void IHasCustomMenu.AddItemsToMenu(GenericMenu menu)
menu.AddItem(new GUIContent("Print All Items"), false,
AssetQuickAccessLocalCache.instance.PrintAllAssets);
menu.AddSeparator("");

// Source Code
menu.AddItem(new GUIContent("Source Code"), false, () =>
{
Application.OpenURL("https://github.com/SolarianZ/UnityAssetQuickAccessTool");
});
menu.AddSeparator("");

// Debug
menu.AddItem(new GUIContent("[Debug] Inspect settings"), false, () =>
{
Selection.activeObject = AssetQuickAccessLocalCache.instance;
});

}

#endregion
Expand Down

0 comments on commit 0da8722

Please sign in to comment.