Canvas Renderer component

The Canvas Renderer component is not on a Canvas object but on all other renderable UI objects.

For a UI element to render, it must have a Canvas Renderer component on it. All of renderable UI elements that you create via the Create menu will automatically have this component attached to them. If you try to remove this component, you will see a warning similar to the following:

In the preceding screenshot, I tried to remove the Canvas Render a component from a Text UI object. As you can see, it will not let me remove the Canvas Renderer component, because the Text component relies on it. If I return and remove the ...

Get Mastering UI Development with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.