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.

画布组
可视组件