Unity3D说明文档翻译-Scenes

来源:互联网 发布:js单选按钮选中 编辑:程序博客网 时间:2024/05/17 00:55

Scenes

场景

Scenes contain the objects of your game. They can be used to create a main menu, individual levels, and anything else. Think of each unique Scene file as a unique level. In each Scene, you will place your environments, obstacles, and decorations, essentially designing and building your game in pieces.

场景包含你游戏中的对象.它们可以用来创建主菜单,单独的水平面和其他任何东西.可认为每一个独立的场景文件就是一个独立的水平面.在每个场景,你将放置你的环境,障碍物和装饰品,本质是你游戏是通过这些碎片设计和建造的.

A new empty scene, with the default 3D objects - a camera and a directional light.

一个新的空场景,带有默认3D对象-一个摄像机和一个平行光.

 

When you create a new Unity project, your scene view will show a new Scene. This is an untitled and unsaved scene. The scene will be empty except for defult objects - either an orthographic camera, or a perspective camera and a directional light, depending on whether you started the project in 2D or 3D mode.

当你创建一个新Unity项目,你的场景视图将显示一个新场景.这是一个没有标题和没有保存的场景.场景是空的除了默认对象-一个正交或透视摄像机和一个平行光源,取决于按3D还是2D模式启动.

Saving Scenes

保存场景

To save the scene you’re currently working on, choose File > Save Scene from the menu, or pres Ctrl/Cmd + S.

保存你当前工作场景,在菜单选择文件>保存场景,或按ctrl+S键.

Scenes are saved as assets, into your project’s Assets folder. Therefore they appear in the Project Window, just like any other asset.

场景保存为资源,在你项目的资源文件夹中.因此它们显示在你的项目窗口上,就像任何其他资源一样.

Some scene assets, saved and visible in the project view

一些场景资源,在项目视图上保存和可见.

Opening Scenes

打开场景

To open a scene, in order to begin or continue working within that scene, double-click the scene asset in the Project Window.

在项目窗口双击场景文件,打开一个场景以便开始或继续在此场景内工作.

If your current scene contains unsaved changes, you will be prompted to save or discard the changes.

Multi-Scene Editing.

多场景编辑

It is possible to have multiple scenes open for editing at one time. For more information about this, see Multi-Scene Editing.

有时可能要一次打开多个场景来编辑.更多关于此的信息参考多场景编辑.

 

0 0
原创粉丝点击