The type or namespace name 'GvrControllerInput' could not be found

196 Views Asked by At

In Unity3d, my build goes fine, runs fine on my Android Nougat.

However, I'm trying to get access to the controller in a RigidBody Update method.

I have a GvrControllerInput Component added above the Rigid Body First Person Controller.

The following lines:

    private void Update()
    {
       RotateView();
                // Example: get controller's current orientation:
       Quaternion ori =  GvrController.Orientation;
...
    }

I get the following error: The type or namespace name 'GvrControllerInput' could not be found.

What is weird to me is where are the namespaces added for the controller or ANY of the Daydream objects??

0

There are 0 best solutions below