I cannot get 4.6 GUI menu to work with OVR - help?
Hi,
I'm trying to use the new GUI system in Unity 4.6, I have a canvas set to worldspace, and a button which uses an event trigger to load a new scene, this points to functions in code:
function letgo(){Application.LoadLevel("snow1");}
function letquit(){Application.Quit();}
In my test scene with no Oculus Rift OVR Cameras it works fine, but if I take these objects to my proper game scene that has Oculus Rift components the buttons do not work, I can see then when the game runs but they do not seem to detect the mouse over or click at all. Why?
How can I get this working?
I thought that this would solve the Unity GUI problems.. but not sure what to do next exactly..
Does anyone have sample code or sample Unity export of how this works, how to make the menus work in Unity with Oculus Rift?
I'm trying to use the new GUI system in Unity 4.6, I have a canvas set to worldspace, and a button which uses an event trigger to load a new scene, this points to functions in code:
function letgo(){Application.LoadLevel("snow1");}
function letquit(){Application.Quit();}
In my test scene with no Oculus Rift OVR Cameras it works fine, but if I take these objects to my proper game scene that has Oculus Rift components the buttons do not work, I can see then when the game runs but they do not seem to detect the mouse over or click at all. Why?
How can I get this working?
I thought that this would solve the Unity GUI problems.. but not sure what to do next exactly..
Does anyone have sample code or sample Unity export of how this works, how to make the menus work in Unity with Oculus Rift?
