Version: Unity 6.2 (6000.2)
Language : English
Search for files
Search external sources

Search presets

The Presets search provider finds presets in your project. Presets are assets that you can use to apply identical property settings across multiple components, assets, or settings for projects.

The Project and Asset Database providers can find preset assets, but the Presets provider can search for specific preset types and by preset properties.

Query syntax

Provider token: preset:

Query example: Searches for a preset with the property flare.

preset: prop:flare

Provider filters

The Presets provider has additional filters in the visual query builder. This table lists the filters and their textual query equivalents.

Filter Search token Query example Description
Excluded Propertry preset: exclude:<"property"> preset: exclude:"m_LocalRotation" Find presets with the specified property in their Excluded Properties list.
Preset Property preset: prop:<"property"> preset: prop:"m_LocalRotation.z" Find presets with the specified property in their Properties list.
Preset Type preset: t:<type>> preset: t:transform Find presets of the specific type, such as a transform component.

Results

Search window tab: Project.

Actions

The context menu for the Presets search provider includes the following actions:

Action Description
Select Open the preset in the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary
and Project windows.
Open Open the preset in the Unity Editor or an external editor.
Reimport For imported presets, reimports the preset from the source file.
Reveal Opens the preset in your operating system’s file browser.
Delete Deletes the preset. The Unity Editor requests confirmation before deleting.
Copy Path Copies the preset’s path relative to your project’s root folder to the clipboard.
Copy GUID Copies the preset’s GUID to the clipboard.
Properties Opens a Focused inspector window for the preset.

Additional resources

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