Legacy Documentation: Version 2017.1 (Go to current version)
Canvas Group
Visual Components
Other Versions

Canvas Renderer

Switch to Scripting

The Canvas Renderer component renders a graphical UI object contained within a Canvas.

Properties

The Canvas Renderer has no properties exposed in the inspector.

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答