游戏视图
The Game View is rendered from the Camera(s) in your game. It is representative of your final, published game. You will need to use one or more Cameras to control what the player actually sees when they are playing your game. For more information about Cameras, please view the Camera Component page.
游戏视图是摄像机渲染的游戏画面.它是你发行的游戏最终的表现.你需要一个或更多摄像机来控制玩家在你的游戏中实际看到了什么.更多关于摄像机的信息,参考”摄像机组件”页面.
播放模式
Use the buttons in the Toolbar to control the Editor Play Mode and see how your published game will play. While in Play mode, any changes you make are temporary, and will be reset when you exit Play mode. The Editor UI will darken to remind you of this.
使用工具条上的按钮来控制编辑器的播放模式和查看你发行的游戏将会怎样.然而在播放模式,你做的任何改变都是临时的,当你退出播放模式它们将会重置.在此模式下Unity编辑器界面会通过变暗来提醒你.
游戏视图控制条
The first drop-down on the Game View control bar is the Aspect Drop-down. Here, you can force the aspect ratio of the Game View window to different values. It can be used to test how your game will look on monitors with different aspect ratios.
游戏控制条的第一个下拉菜单是显示方式下拉菜单.这里,你可更改游戏视图窗口为不同显示比例.它可以用来测试你的游戏在显示器不同显示比例上的效果.
Further to the right is the Maximize on Play toggle. While enabled, the Game View will maximize itself to 100% of your Editor Window for a nice full-screen preview when you enter Play mode.
接着往右是最大显示播放开关.当激活它,你点击播放模式游戏视图将会全屏显示.
Continuing to the right is the Stats button. This shows Rendering Statistics window that is very useful for monitoring the graphics performance of your game (see Optimizing Graphics Performance for further details).
继续往右是统计按钮.它显示渲染统计窗口,对监视你游戏的图像性能非常有用.(更多参考”优化图像性能.”)
The last button is the Gizmos toggle. While enabled, all Gizmos that appear in Scene View will also be drawn in Game View. This includes Gizmos drawn using any of the Gizmos class functions. The Gizmos button also has a popup menu showing the various different types of Components used in the game.
最后的按钮是小图示开关.当它激活,所有在场景视图上出现的小图示都将会显示在游戏视图中,包括用于任何类型功能的小图示.小图示也有一个弹出菜单显示用于不同类型游戏组件.
Next to each Component’s name are the settings for the icon and gizmos associated with it. The Icon setting reveals another popup menu which lets you choose from a selection of preset icons or a custom icon defined by a texture.
靠近每一个组件的名字是与它相关的图标和小图示设置.图标设置暴露了另一个弹出菜单,它让你挑选一个预设图标或一个贴图定义的自定义图标做为选择.
The Gizmo setting enables you to selectively disable Gizmo drawing for specific components.
小图示设置让你能选择使小图不能表示特定组件.
The 3D Gizmos setting at the top of the menu refers to the Gizmo icons. With the setting enabled, the icons will show the perspective of the camera (ie, icons for nearby objects will be larger than those for distant objects), otherwise they will be the same size regardless of distance. The slider next to the checkbox allows you to vary the size of the icons, which can be useful for reducing clutter when there are a lot of gizmos visible.
在菜单顶部的3D小图示设置影响着小图示图标.使用此设置,图标将跟随摄像机视角显示(例如,图标靠近物体将比远离物体大),否则它们将一般大不管距离如何.复选框接着是滑动条,允许你改变图标大小,当有许多小图示显示时,这对减少混乱很有用.