Daydream (experimental)
October 5, 2017 ยท View on GitHub
Instructions for using Daydream
- Open a new or existing project in Unity that offers Daydream integration.
- Download the Google VR SDK from the Google developer website.
- Import the
.unitypackage. - Switch the build settings in
File > Build Settings...toAndroid. - In
Edit > Project Settings > Playerset the following:- API Level to
Nougat. - Bundle Identifier and other settings for use with Android.
- API Level to
- In the
Hierarchywindow, create a new empty GameObject namedDaydreamCameraRig. - Add the following as children of
DaydreamCameraRig:- A new
Camera. - The
GvrControllerPointerprefab fromGoogleVR/Prefabs/UI. - The
GvrControllerMainprefab fromGoogleVR/Prefabs/Controller. - The
GvrViewerMainprefab fromGoogleVR/Prefabs(enables the view in editor play mode).
- A new
- Disable Daydream's native pointer tools by removing or disabling
DaydreamCameraRig/GvrControllerPointer/Laser. - Follow the initial steps above by adding the
DaydreamCameraRigobject as a child of the SDK Setup GameObject.
Note: Daydream supports only one controller, the left scripting alias controller of VRTK will not be used.