090204Canvas Renderer
The Canvas Renderer component renders a graphical UI object contained within a Canvas.
Canvas Renderer component 画布上的渲染器组件将呈现包含在一个画布内的图形用户界 面对象。
Properties
The Canvas Renderer has no properties exposed in the inspector.
Canvas Renderer 画布上的渲染器没有属性暴露在检查器中的。
Details
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.
菜单中可用的标准 UI 对象 (GameObject > Create UI) 都有画布渲染器附加他们是必 需的,用户自定义 ui 对象手动添加此组件。虽然有没有暴露在检查器,几个属性和函数中 的属性可以从 scripts - 访问请参阅 CanvasRenderer 页面中的脚本引用的全部详细信息。