Search the Unity Editor main menu
Use the Menus search provider to access the Unity Editor main menu commands.
Query syntax
Provider token: m:
Query example: List all menu commands related to splines, from all submenus.
m: splines
Provider filters
The Menus 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 |
| Menu Path |
m: id:<"path"> |
m: id:"2d/tiles" |
Searches only within the 2D > Tiles menu. |
Results
Search window tab: Menus.
Actions
Default action: Executes the menu command.
Notes:
- For commands like Create, make sure you’re in the correct folder in the Project window before executing the command.
- For commands that interact with GameObjects in the Hierarchy window, make sure to select the correct__ GameObject__Unity 场景中的基础对象,可以表示角色、道具、风景、摄像机、路径点等。GameObject 的功能由所附的组件决定。更多信息
See in Glossary in the Hierarchy window before executing the command, or the command might work at the scene level. For example, if you execute Create Empty Child while your focus is in the Project window, the Unity Editor creates the GameObject at the scene level rather than as a child of a GameObject.
- Some commands, like Duplicate, don’t execute from the Search window.
Additional resources
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。