Manipulating Scene Assets with an Interactive User Interface (UI)

Tutorial

·

Beginner

·

+10XP

·

30 mins

·

(8)

Unity Technologies

Manipulating Scene Assets with an Interactive User Interface (UI)

Languages available:

1. Why UI?

2. Create a UI Canvas and Add Interaction Components: Buttons, a Slider, and a Toggle Group

3. Add Buttons to Your Panel

4. Align Buttons with Horizontal Layout

5. Add Sliders to Control the Light Intensity

6. Add Toggle Buttons to Turn Off/On the Colored Lights

7. Connect the Toggles with a Toggle Group

8. Add Functionality to the “Sun” Buttons

9. Add Functionality to the Sliders

10. Add Functionality to Your Toggle Group

11. Try Out the UI

12. Place the UI in 3D Space

13. Download the Oculus Starter Pack (OSP) from the Asset Store

14. Replace the Camera With the OVRCameraRig Prefab

15. Replace the Standalone Input Module with the OVR Input Module

16. Set the Ray Transform to CenterEyeAnchor

17. Replace the Graphic Raycaster Component with the OVR Raycaster Component

18. Set the Event Camera Field to CenterEyeAnchor

19. Add the GazePointerRing Prefab to Your Scene

20. Key Takeaways

Complete this tutorial