纳金网

标题: [Unity 组件参考手册]组件:渲染组件之用户界面层 [打印本页]

作者: .    时间: 2013-2-5 14:28
标题: [Unity 组件参考手册]组件:渲染组件之用户界面层
This group contains all Components that have to do with rendering in-game and user interface elements. Lighting and special effects are also included in this group.
这个组包括在游戏中渲染和界面元素的所有组件。光照和特定效果也包含在这个组。


下面介绍用户界面层。

A GUI Layer Component is attached to a Camera to enable rendering of 2D GUIs.
GUI层组件连接到相机,使二维图形用户界面可以渲染。
When a GUI Layer is attached to a Camera it will render all GUI Textures and GUI Texts in the scene. GUI Layers do not affect UnityGUI in any way.
当一个GUI层连接照相机可令所有的GUI纹理(GUI Textures )和GUI文本(GUI Texts )在场景里显示。GUI层次不以任何方式影响UnityGUI
You can enable and disable rendering GUI in a single camera by clicking on the check box of the GUI Layer in the Inspector.
在检视面板点击GUI层(GUI Layer)的复选框,可以启用和禁用在相机绘制GUI。


【来源:互联网】

更多精彩教程,尽在web3D纳金网http://www.narkii.com/college/




欢迎光临 纳金网 (http://c-www.narkii.com/club/) Powered by Discuz! X2.5