Version: 5.6
画布组
可视组件

画布渲染器

画布渲染器 (Canvas Renderer) 组件用于渲染画布中包含的图形 UI 对象。

属性

画布渲染器在 Inspector 中没有公开属性。

详细信息

The standard UI objects available from the menu (GameObject > Create UI) all have Canvas Renderers attached wherever they are required but you many need to add this component manually for custom UI objects. Although there are no properties exposed in the inspector, a few properties and function can be accessed from scripts - see the CanvasRenderer page in the Script Reference for full details.

画布组
可视组件
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961