ScreenSpaceLocalUI
By default, the Local UI is displayed in World Space. You can change that to ScreenSpace.
-
When displayed in World Space, the local UI gets smaller when zooming out.
-
When displayed in Screen Space, the local UI stays the same size, no matter the zoom.
| Whether the local UI should be displayed in World Space or in Screen Space is a per-Unit setting and only Units with the displayLocalUI Sub-Component can show the Local UI. |
Setup
No Setup is required for World Space, but if you want to use the ScreenSpaceLocalUI in your scene, you have to add it once. See Scene Setup.
After you created the ScreenSpaceLocalUI, you can adjust the scale of the UI with the Canvas Scaler.