The Game view is rendered from the Camera(s) in your application. It represents your final, published application. You need to use one or more Cameras to control what the player sees when they are using your application. For more information about Cameras, see the Camera Component page.
Use the buttons in the Toolbar to control the Editor Play mode and see how your published application plays. In Play mode, any changes you make are temporary, and are reset when you exit Play mode. The Editor UI darkens to remind you of this.
Button | Функция: | |
---|---|---|
Display | Select this to choose from a list of Cameras if you have multiple Cameras in the Scene. This is set to Display 1 by default. You can assign Displays to Cameras in the Camera module, under the Target Display drop-down menu. | |
Aspect | Select different values to test how your game looks on monitors with different aspect ratios. This is set to Free Aspect by default. | |
Low Resolution Aspect Ratios | Enable Low Resolution Aspect Ratios to emulate the pixel density of older displays: this reduces the resolution of the Game view when an aspect ratio is selected. It is always enabled when the Game view is on a non-Retina display. | |
VSync (Game view only) | Enable VSync (Game view only) to give priority to the Game view. This option might add some vertical sync, which is useful when recording a video, for example. Unity attempts to render the Game view at the monitor refresh rate, though this is not guaranteed. When this option is enabled, it is still useful to maximize the Game view in Play mode to hide other views and reduce the number of views that Unity renders. | |
Scale slider | Scroll right to zoom in and examine areas of the Game screen in more detail. This slider lets you zoom out to see the entire screen where the device resolution is higher than the Game view window size. You can also use the scroll wheel and middle mouse button to do this while the application is stopped or paused. | |
Maximize on Play | Click to enable: use this to maximize the Game view (100% of your Editor window) for a full-screen preview when you enter Play mode. | |
Mute audio | Click to enable: use this to mute any in-application audio when you enter Play mode. | |
Stats | Click this to toggle the Statistics overlay, which contains Rendering Statistics about your application’s audio and graphics. This is very useful for monitoring the performance of your application while in Play mode. | |
Gizmos | Click this to toggle the visibility of Gizmos. To only see certain types of Gizmo during Play mode, click the drop-down arrow next to the word Gizmos and only enable the Gizmo types you want to see. |
The Gizmos menu contains options for how Unity displays gizmos for GameObjects and other items in the Scene view and Game view. This menu is available in both the Scene view and the Game view. For more information see Gizmos Menu.
Right-click the Game tab to display advanced Game view options.
Warn if No Cameras Rendering: This option is enabled by default: it causes Unity to display a warning if no Cameras are rendering to the screen. This is useful for diagnosing problems such as accidentally deleting or disabling a Camera. Leave this enabled unless you are intentionally not using Cameras to render your application.
Clear Every Frame in Edit Mode: This option is enabled by default: it causes Unity to clear the Game view every frame when your application is not playing. This prevents smearing effects while you are configuring your application. Leave this enabled unless you are depending on the previous frame’s contents when not in Play mode.