This site has been permanently archived. The content on this site was last updated in 2019.
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 and ensures the GvrControllerInput API is accessible within your application."],["Only a single instance of this prefab is permitted in the active scene, with any extras being automatically removed to prevent conflicts."],["This prefab houses the GvrControllerInput API singleton and offers static methods for accessing controller state and user input, simplifying interaction."],["Its key components include GvrControllerInput for handling controller input and UnityEngine.Transform for managing the object's position and rotation within the scene."]]],[]]