Comments

You mean it works in Unity Editor but not in the actual device? Yeah, you need to look at methods from the OVRInput class to get the Oculus Go controller input (controller orientation and touchpad touch positions). Your code seems to be for controlling movement, but there is no direct analogue for that with the Oculus Go controller. You need to think about how you want to handle that with the options the Oculus Go controller provides.