Please Note: This component relates to obsolete methods for drawing UI textures and images to the screen. See the comparison of UI systems in Unity for more information on current UI tools.
A GUI Layer Component attaches to a Camera to enable rendering of 2D GUIs.
When you attach a GUI Layer to a Camera, it will render all GUI Textures and GUI Texts in the scene. GUI Layers don’t affect IMGUI in any way.
通过单击 Inspector 中的 GUI Layer 复选框,可在单个摄像机中启用和禁用 GUI 渲染。