The Curved UI asset allows you to easily curve a Canvas in World Space. An integration package is included with VRIF to make it simple to get setup.
Install the Curved UI asset from the asset store.
Extract the included .unityPackage found at /BNG Framework/Integrations/Curved UI/CurvedUI.unityPackage
Place the "CurvedUIPointer.prefab" object somewhere on your characters controllers / hands. For example, you can parent it to the "RightHandPointer" transform on the XR Rig.
Ensure that you set CUSTOM_RAY
as the selection in the CurvedUISettings
.
That's it! You may want to tweak the input - by default input is set to Right Trigger.
Important! - This setup uses Curved UI's custom input system. Make sure VRUISystem is not in the scene, and that no VRIF "UIPointer" objects are in the scene either (they will create the VRUISystem when they try to access it). Otherwise VRUISystem may conflict with CurvedUI's. To make sure none are included, type "VRUISystem" and "UIPointer" into the Hierarchy search, and make sure no components show up.
Attached Files : curvedui.unitypackage