GUI Layer 用户界面层

优质
小牛编辑
135浏览
2023-12-01

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。