Version: Unity 6 (6000.0)
Language : English
Gizmos menu
Custom Editor tools

Scene view context menu

Use the SceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
view context menu to access common Scene viewAn interactive view into the world you are creating. You use the Scene View to select and position scenery, characters, cameras, lights, and all other types of Game Object. More info
See in Glossary
actions directly in the scene rather than from the menu toolbarA row of buttons and basic controls at the top of the Unity Editor that allows you to interact with the Editor in various ways (e.g. scaling, translation). More info
See in Glossary
.

The menu options that display in the Scene view context menu depend on your current selection and the tool context enabled in the Tools overlay. If you’ve selected a GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
, the Scene view context menu displays options for that GameObject and any relevant attached components.

To display the context menu, right-click in the Scene view.

Note: You can select a different shortcut to display the Scene view context menu in the Shortcuts Manager.

The default tool context in the Scene view is GameObject. When the GameObject tool context is enabled, the Scene view context menu displays the following menu items by default when you select a GameObject:

  • Clipboard actions such as cut, copy, paste, delete, and duplicate.
  • GameObject view options to help you visualize the selected GameObject in the Scene view.
  • The option to Isolate selected GameObjects in the Scene view so that only the selected GameObject is visible.
  • The option to a add a componentA functional part of a GameObject. A GameObject can contain any number of components. Unity has many built-in components, and you can create your own by writing scripts that inherit from MonoBehaviour. More info
    See in Glossary
    to the selected GameObject.
  • The option to open the properties of the selected in GameObject in a new window.
  • The PrefabAn asset type that allows you to store a GameObject complete with components and properties. The prefab acts as a template from which you can create new object instances in the scene. More info
    See in Glossary
    menu.
  • The Transform menu.

If the GameObject has additional components attached to it, actions related to those components display at the end of the Scene view context menu.

If your project contains multiple tool contexts, you can use the first button in the Tools overlay to select a tool context. If you enable a tool context that isn’t GameObject, the Scene view context menu displays options relevant to your selection in that tool context. For example, if your project contains the Splines package and you enable the Splines tool context, then the Scene view context menu displays options to create and edit splines.

Additional resources

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