This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
GvrControllerMain prefab
Required in order to use the Daydream controller API in your app.
Ensures that the GvrControllerInput
API is available to your app.
Only one instance of this prefab is allowed in the active scene. Additional instances are automatically destroyed.
Prefab Hierarchy
Game object name |
Description |
|
Holds the GvrControllerInput API singleton. Provides static methods to access controller state and user input. |
GvrControllerMain game object
Holds the GvrControllerInput
API singleton. Provides static methods to access controller state and user input.
Components:
GvrControllerInput,
UnityEngine.Transform
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[],["The `GvrControllerMain` prefab is essential for utilizing the Daydream controller API. It houses the `GvrControllerInput` API singleton, which offers static methods for accessing controller state and user input. Only one instance of this prefab is permitted per scene; duplicates are automatically removed. The prefab's core function is to make the `GvrControllerInput` API accessible within the application, enabling interaction with the Daydream controller. Its structure includes `GvrControllerInput` and `UnityEngine.Transform` components.\n"],null,[]]