Command Search
Command Search is the heart of Command Pocket: instant, fuzzy-matched access to all assets and scene objects in your Unity project.
How it works
Press Ctrl + Space and start typing. Command Pocket searches:
- Project assets - all files in your Assets folder.
- Scene objects - GameObjects in currently loaded scenes.
- Recent history - your recently accessed items.
Fuzzy matching
You don't need to type the exact name:
| You type | Matches |
|---|---|
mat | Material, Animator, Audio Mixer |
plyr | Player, Player Controller |
scpt | Script, MyScript |
The search engine layers several strategies, in priority order: exact match, prefix match, contains match, subsequence match and Levenshtein distance for typo tolerance. Results are sorted by relevance score, not alphabetically.
Usage frequency scoring
Command Pocket learns from your behavior: frequently used items appear higher, recent items get a boost, and usage counts persist across sessions. The more you use it, the better it predicts what you need.
Recent history
When the search field is empty you see your most recent selections: a mix of assets and scene objects, sorted by last access. Press ↓ and Enter to jump right back to what you were working on.
Executing results
| Type | Default action |
|---|---|
| Asset | Ping in Project window |
| Scene object | Focus in Hierarchy and Scene view |
| Prefab asset | Open the prefab editor |
| Script | Open in your IDE |
Right-click an item for more options: Open, Show in Explorer / Finder, Copy Path, Copy GUID, Add to Pocket.
Special search features
- Extension filtering: type
.csor.matto filter by type (when "Show File Extensions" is enabled in Settings). - Path-based search:
scripts/playerfinds "PlayerController" in a Scripts folder. - Case-insensitive:
PLAYER=player=Player.
Performance
- Async, time-sliced search - heavy searches never block the UI (under 2 ms frame budget).
- Virtualized list - only visible items are rendered.
- Allocation-free matching - fuzzy matching does not allocate per keystroke.
Looking for something beyond plain search? Add a prefix to switch into a focused mode.