Version: 2023.1
The calculator
Execute API methods

Search for files

The File Search Provider searches the file system to find files that match a specific pattern.

Note: This search works without using the find: search token.

NOTE: This search requires a search token to execute it. You cannot make it an active Search Provider, or combine it with other Search Providers.

Search token: find:

Default action: Select the file.

Context menu actions:

Action: 功能:
Select Selects the file in the Project window.
Open: Opens the file, either in Unity or an external editor.
Delete: Deletes the file.
Copy Path Copies the path of the file.
Reimport Reimports the file.
Reveal Selects the file in the operating system’s file browser.
属性 Opens the file’s property settings.

Your search query can contain a C# regex to perform matching or glob expressions with the following wildcards. A glob expression is converted to a normal regex using the equivalency described in the table below:

Glob wildcards 描述 示例 Matches Does not match Equivalent regex
| matches any number of any characters including none| Law Law, Laws, Lawyer Groklaw, La, aw .*
. matches any single character including none Law. Law, Laws La, aw .

asset filter
File Search Provider

The calculator
Execute API methods
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961