Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


project_search

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
project_search [2021/08/17 01:49]
73.95.178.156
project_search [2021/08/17 01:57] (current)
73.95.178.156
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://forum.unity.com/threads/preset-manager-filters.880333/))+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 ==== ==== Glob Syntax ====
Line 24: Line 28:
  
 ^ 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.1629164977.txt.gz · Last modified: 2021/08/17 01:49 by 73.95.178.156