暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

class-CanvasRenderer.md 734B

Canvas Renderer

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 may 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.