Worldspace UI Canvas
Instructions for how to setup a world space UI canvas to work with the Leia Unity plugin. Note that version 3.2.14 of the Leia Unity Plugin handles this process automatically.
Last updated
Instructions for how to setup a world space UI canvas to work with the Leia Unity plugin. Note that version 3.2.14 of the Leia Unity Plugin handles this process automatically.
Last updated
Sample Scene: Assets/Leia/Examples/WorldSpaceUI/WorldSpaceUI
Step 1
Create a new game object under LeiaDisplay called "UIRaycastCamera"
Step 2
Attach a camera component, and set it's field of view to be the same as your Head camera. Set the Clear Flags to "Don't Clear" and the Culling Mask to "Nothing" so that the camera doesn't affect rendering. This camera will only be used for UI raycasting purposes.
Step 3
For your world space canvas game object, set the Event Camera to be the UIRaycastCamera like so:
Congrats, your world space canvas should now work with the Leia Unity Plugin!