Player Local UI
This component allows you to create a UI that can display content according to the player.
This component can be created by right-clicking on the Hierarchy view and selecting UI/PlayerLocalUI - cluster. PlayerLocalUI has a Render Mode setting that can be used to render in screen space or world space, determined by the Render Mode value on the Canvas component, except that if the RenderMode value is ScreenSpaceCamera, the value is forced to ScreenSpaceOverlay.
ScreenSpaceOverlay
In this rendering mode, UI elements are rendered on top of the scene, positioned on the screen so that they are always visible. This component can be used to create an always-on screen UI suitable for each device, which can be displayed as an overlay at a fixed position on the screen for 2D devices, or as a floating player-following UI for VR devices.
WorldSpace
In this rendering mode, PlayerLocalUI is positioned in space: for both 2D and VR devices, UI elements will appear in front of or behind other objects in the scene based on their 3D placement.
ClusterScript.createItem
of Scriptable Item.