ZMWSLI0-SL2021-GR11/Projekt/MWSProjekt/Library/PackageCache/com.unity.ugui@1.0.0/Documentation~/class-CanvasRenderer.md

15 lines
737 B
Markdown
Raw Normal View History

2021-07-05 21:20:56 +02:00
# Canvas Renderer
The **Canvas Renderer** component renders a graphical UI object contained within a [Canvas](class-Canvas.md).
![](images/UI_CanvasRendererInspector.png)
## 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](https://docs.unity3d.com/ScriptReference/CanvasRenderer.html.md) page in the Script Reference for full details.