Building for Google VR
The Google VR SDK supports both Daydream and Cardboard. Daydream is the higher-end version limited to faster, more capable Daydream-ready Android phones. Cardboard is lower end and supported on many more mobile devices including Apple iOS iPhones. You can build projects in Unity that target both.
Google Daydream
To build for Google Daydream on mobile Android devices, you will use the Daydream SDK. You must set up your development machine for Android development as described above. Then complete the following steps:
- Configure your Unity
Build Settings
to target theAndroid
platform - In
Player Settings
, underXR Settings
, setVirtual Reality Enabled
- Ensure
Daydream
is at the top of theVirtual Reality SDKs
list - Download and
Install
the Google VR SDK package, as instructed previously
We will now build the MeMyselfEye
camera rig for our scene. At the present time, the best example we have is the GVRDemo
example scene provided with the Google VR SDK (can be found in the Assets...