project_search
This is an old revision of the document!
Table of Contents
Search Box Syntax
This pages details the syntax for the built-in search boxes, not the new Quick Search package.
The search box exists in the Project tab and the Hierarchy tab. There are a few non-documented options that it supports.
Syntax
Search Term | Result |
---|---|
t:Type | All objects with the given type. Can search for components. 1) |
l:Label | All assets with the given asset label. |
glob:“<glob_text>” | Selects objects using a glob language. See below. |
Unity Glob Language
Unity searches support globbing, but it seems to be a custom language. 2)
Glob Syntax
Syntax | What this matches |
---|---|
* | Any number of any character |
? | Any single character |
(X|Y|Z) | Any one of the strings X, Y, or Z |
The last “OR” syntax can be repurposed to also match against 'nothing':
Syntax | What this matches | |||
---|---|---|---|---|
( | X | Y | Z) | Any one of the string X, Y, or Z, or nothing |
Text( | _test).png | Either Text.png or Text_test.png |
The glob syntax applies to names, not paths.
1)
The component name must be typed out in full
project_search.1629164977.txt.gz · Last modified: 2025/01/15 04:35 (external edit)