This site has been archived and remains strictly as a historical reference for developers who actively maintain apps built using the legacy Google VR SDK, which was last updated in 2019 and is no longer receiving updates.
  • All developers actively developing experiences for Google Cardboard should use the new open source Cardboard SDKs for iOS, Android NDK, and Unity XR Plugin. These new SDKs offer streamlined APIs, improved device compatibility, and built-in viewer profile QR code scanning.
  • The Daydream View VR headset is no longer available for purchase as of October 15, 2019. Existing apps on supported devices are unaffected for users who previously installed those applications. It is no longer possible to opt-in to Daydream distribution via Google Play.

GvrKeyboardCanvas prefab

Customizable text canvas that provides keyboard input in VR using the Daydream controller.

Requires an instance of the GvrKeyboardManager prefab in the scene.

Position this game object in the scene so that the text canvas is visible to the player during text entry. To bring up the keyboard when the player clicks on the text canvas, connect the EventTrigger's "Pointer Click" event to the GvrKeyboardManager's GvrKeyboard.OnPointerClick method, following the example in the included KeyboardDemo scene:

Prefab Hierarchy

Game object name Description

Positions worldscale canvas that holds the text component.

Renders the customizable background behind the text component.

Renders the customizable text component.

GvrKeyboardCanvas game object

Positions worldscale canvas that holds the text component.

Components: GvrPointerGraphicRaycaster, UnityEngine.BoxCollider, UnityEngine.Canvas, UnityEngine.EventSystems.EventTrigger, UnityEngine.RectTransform, UnityEngine.UI.CanvasScaler

Background game object

Renders the customizable background behind the text component.

Components: UnityEngine.CanvasRenderer, UnityEngine.RectTransform, UnityEngine.UI.Image

KeyboardText game object

Renders the customizable text component.

Components: UnityEngine.CanvasRenderer, UnityEngine.RectTransform, UnityEngine.UI.Text