====== 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. Note: The glob syntax applies to asset paths, not asset names. ===== 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))| | l:Label| All assets with the given asset label.| | glob:"" | Selects objects using a glob language. See below. | ===== Unity Glob Language ===== Unity searches support globbing, but it seems to be a custom language.((https://forum.unity.com/threads/preset-manager-filters.880333/)) The glob syntax must be wrapped in quotes. ==== 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 | ==== 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 |