using Oculus Remote with new input system
Hi everyone, I'm a student and I'm trying to use a remote to select some buttons in my UnityVR project.
My remote is connected to the Oculus, but when, during playing, I click on the central button, the variable "clicked" never returns true.
I've already added the OVRRig and selected "Oculus" in the project settings.
This is the script I made and have attached to an object in my project.
using UnityEngine;
public class remote : MonoBehaviour
{
public bool clicked;
void Update()
{
OVRInput.Update();
clicked= OVRInput.GetDown(OVRInput.Button.One);
}
}
Do I have to add something in some settings? I'm not a programming student so I'm not very good in these things. I hope someone can help me
Comment