project_search
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| project_search [2021/08/17 01:48] – created 73.95.178.156 | project_search [2025/01/15 04:35] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| The search box exists in the Project tab and the Hierarchy tab. There are a few non-documented options that it supports. | The search box exists in the Project tab and the Hierarchy tab. There are a few non-documented options that it supports. | ||
| - | ==== Syntax ==== | + | Note: The glob syntax applies to asset paths, not asset names. |
| - | ^ Search Term ^ Result | + | |
| + | ===== Syntax | ||
| + | ^ Search Term ^ Matches | ||
| + | | * | Any number of any character | | ||
| | t:Type | All objects with the given type. Can search for components. ((The component name **must** be typed out in full))| | | t:Type | All objects with the given type. Can search for components. ((The component name **must** be typed out in full))| | ||
| | l:Label| All assets with the given asset label.| | | l:Label| All assets with the given asset label.| | ||
| Line 12: | Line 15: | ||
| ===== Unity Glob Language ===== | ===== Unity Glob Language ===== | ||
| - | Unity searches support globbing, but it seems to be a custom language. ((https:// | + | Unity searches support globbing, but it seems to be a custom language.((https:// |
| ==== Glob Syntax ==== | ==== Glob Syntax ==== | ||
| Line 19: | Line 23: | ||
| | * | Any number of any character | | | * | Any number of any character | | ||
| | ? | Any single character | | | ? | Any single character | | ||
| - | | (X|Y|Z) | Any one of the strings X, Y, or Z | | + | | %%(X|Y|Z)%% | Any one of the strings X, Y, or Z | |
| The last " | The last " | ||
| ^ Syntax ^ What this matches ^ | ^ Syntax ^ What this matches ^ | ||
| - | | (|X|Y|Z) | Any one of the string X, Y, or Z, or nothing | | + | | %%(|X|Y|Z)%% | Any one of the string X, Y, or Z, or nothing | |
| - | | Text(|_test).png | Either Text.png or Text_test.png | | + | | %%Text(|_test).png%% | Either Text.png or Text_test.png | |
| - | + | ||
| - | The glob syntax applies to names, not paths. | + | |
| + | ==== Examples: ==== | ||
| + | ^ Syntax ^ What this matches ^ | ||
| + | | %%MyTexture(|_)(|0|1|2|3|4|5|6|7|8|9)(|0|1|2|3|4|5|6|7|8|9).*%% | Files with any extension starting with MyTexture. Optionally allows a number _0 to _99 | | ||
project_search.1629164926.txt.gz · Last modified: 2025/01/15 04:35 (external edit)