5 Replacing the Oculus SDK with the Pico SDK in other Projects¶
Other Oculus projects can be updated in a similar way as the video player example. Such projects involve the following:
- The Oculus player is based on the GearVrControllerTest scene.
- A room can be replaced by following all of the steps described in the previous section.
- A cube can be replaced by following steps 1 to 3 in the previous section.
- To update a basic scene, just replace MainCamera with the Pvr_UnitySDK prefab.

Figure 17 - A project containing an Oculus GearVrControllerTest scene.
Follow the steps below to replace the Oculus SDK with the Pico SDK in a UI scene:
- Delete the OVR components including EventSystem:

Figure 18 – Deleting OVR components.
- Delete the OVR scripts and Mask:

Figure 19 – Deleting the scripts and Mask.
- Drag Pvr_UnitySDK and ControllerManager from Pvr_Controller_UI into the scene:

Figure 20 – Adding Pvr_UnitySDK and ControllerManager to the scene.
- Set the Canvas and add the Pvr_UICanvas script and Graphic Raycaster to LightCanvas:

Figure 21 – Setting the Canvas and adding the Pvr_UICanvas script and Graphic Raycaster.
- Build and install the application.