Question by
MysticsMyth · Mar 16, 2020 at 03:54 PM ·
inputvroculusno errors
OVRInput not working
The Buttons always worked completely fine and randomly a couple days ago the code for the buttons don't work any more its not giving any errors or anything and I don't think there has been any change on Oculus's part. I've tried every possible solution and at this point just assume that it's a bug with the editor.
Code:
void Update()
{
if (OVRInput.Get(OVRInput.Button.Start))
{
if (GameIsPaused)
{
Resume();
}
else
{
Pause();
}
}
}
Comment