Haste is a search engine for Unity 3D. Navigate your project with speed.
"It’s like Spotlight or Alfred for Unity", said by a friend of ours.
Usage: Open Haste by pressing Command/Control+K and begin typing to search.
- Locate game objects in your scene, project assets and menu items.
- Use multi-select and drag and drop to work more efficiently.
- Configure the keyboard shortcut to personalize your workflow.
- Search faster with "fuzzy" matching: just type “mc” for "Main Camera".
- Get intelligent search recommendations based on what you search for the most.
- Execute native Unity menu items or extend Haste using custom “MenuItem” attributes
- Access Haste’s source.
- Works with Unity Pro and Free.
- Selectively ignore assets from search results.
Action | Keyboard | Mouse |
---|---|---|
Open Haste | ⌘ + K (Ctrl + K on Windows) | Click "Window/Haste" |
Navigate Search Results | ↑ or ↓ | Click search result |
Select Highlighted Result | Enter | Double-click search result |
Go to beginning | Fn + ← (Home on Windows) | |
Go to end | Fn + → (End on Windows) | |
Go up a page | Fn + ↑ (Page Up on Windows) | |
Go down a page | Fn + ↓ (Page Down on Windows) | |
Multi-Select Highlighted Result | ⌘ + Enter (Ctrl + Enter on Windows) | ⌘ + Click (Ctrl + Click on Windows) |
Dismiss Haste | ESC | Click anywhere outside of Haste |
To modify Haste's keyboard shortcut open the file "Assets/Haste/Editor/InternalResources/HasteShortcut.cs" in your favorite text editor. Then modify both MenuItem
attributes using the following special characters:
%
(ctrl on Windows, cmd on OS X),#
(shift),&
(alt),_
(no key modifiers)
For example to create a menu with the shortcut alt-g use "Window/Haste &g".
Note that if the shortcut conflicts with another shortcut, Haste may not open.
For more details, see the Unity MenuItem docs.
(Additional settings are available in the "Haste" tab of "Unity Preferences".)
With Haste you can also find assets by their type simply by searching for their extension. A few examples:
.cs
for C# scripts.unity
for scenes.mat
for materials
This is Haste. You can open it at any time.
The first time you open Haste it will begin indexing your scene hierarchy and project files automatically, making new items available for search as their discovered.
Haste will begin listing your search results immediately. Note that searches in Haste are not case-sensitive.
Step 5. You can use the up (↑) / down (↓) arrows to navigate the search results. Use the arrows to highlight the GameObject named "first".
Pressing enter will select the highlighted result.
Searching by the full name can be tedious. To search faster you can search using Haste's "fuzzy" matching.
Note how Haste highlights the capital letters in the GameObject's name. Haste can search on any "word boundary" which are capital letters or characters that occur after spaces and other characters such as hyphens and parenthesis. Think of this like "keyboard-shortcuts on steroids" where everything in Unity gets an acronym to lookup the object by.
You can do this at any time when Haste is open without performing any actions.
Next lets use some MenuItem actions... (requires Haste Pro.)
This brings up the TutorialPrefab.prefab
in the project's assets.
Haste Pro provides access to as many built-in MenuItems as possible with Unity's exposed APIs. Haste Pro also indexes custom MenuItems from other editor extensions making it easy to extend Haste's capabilities.
You can ignore assets in your project like third-party tools, etc. by right-clicking on the asset and selecting Haste > Ignore
. The asset can be unignored by right-clicking and selecting Haste > Unignored
. You can further manage ignored assets in Haste's Preferences inside of the main Unity Preferences.
Due to limitations in the current Unity editor APIs the following menu items are not available through Haste:
- File/New Project...
- File/Open Project...
- Edit/Project Settings/Input
- Edit/Project Settings/Audio
- Edit/Project Settings/Time
- Edit/Project Settings/Graphics
- Edit/Project Settings/Network