Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityProjectBookmark

A Unity Editor extension that adds a drag-and-drop bookmark bar to the Project window. Drag and drop frequently used assets or folders to register them, then jump back to them any time from a panel on the left side of the Project window.

Bar visible Bar hidden
UnityProjectBookmark bookmark bar in the Project window Project window with the bookmark bar hidden, showing the ★ toggle button to bring it back

This repository hosts the UnityProjectBookmark Unity package (at Packages/UnityProjectBookmark), plus a minimal Unity project (this repository's root) used to develop and test it.

Features

  • Register bookmarks by dragging and dropping assets/folders onto the Project window
  • Reorder bookmarks by dragging them within the list
  • Toggle the bookmark bar's visibility with a header button
  • Single-click a bookmark to select and ping it; double-click to open it
  • Right-click and select Remove Bookmark to remove it
  • Bookmarks and bar state are persisted to UserSettings/ProjectBookmarkSettings.asset (intended as a per-project, per-user setting, typically excluded from version control)

Requirements

  • Unity 6000.0 (Unity 6) or later
  • Editor-only (not included in builds)

Installation

This package can be added through the Package Manager's "Install package from git URL" option, or by adding it to manifest.json directly. Because package.json lives in Packages/UnityProjectBookmark rather than at the repository root, the URL needs a path query parameter pointing to that folder:

{
  "dependencies": {
    "com.popopo.unity-project-bookmark": "https://github.com/POPOPOinc/UnityProjectBookmark.git?path=Packages/UnityProjectBookmark"
  }
}

You can optionally append #<tag> (e.g. #v1.0.0) to pin a specific released version.

Usage

  1. Open the Project window; the bookmark bar appears on the left side.
  2. Drag and drop an asset or folder from the Project window onto the bar to bookmark it.
  3. Reorder bookmarks by dragging them, or right-click to remove one.
  4. Click the ◀ button in the header to hide the bar; when hidden, click the ★ button in the top-left of the Project window to show it again.

Implementation notes

ProjectBrowserReflection.cs uses reflection to access Unity's internal, non-public APIs (private fields on UnityEditor.ProjectBrowser and UnityEditor.HostView) in order to inject the bookmark bar. If Unity changes these internals in a future version, this part of the package may stop working.

License

MIT — see LICENSE.

About

A Unity Editor extension that adds a drag-and-drop bookmark bar to the Project window.

Resources

Stars

26 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages