Forum Discussion
Anonymous
11 years agoStruggles with mouse clicking outside of program window
If I'm in Extended mode and I run a Unity DirectToRift app that requires clicking the mouse, I frequently have trouble with the mouse clicking out of the program window, causing the Rift view to freez...
bilago
11 years agoHonored Guest
This needs to be programmed in the game itself to disable the cursor or confine it to the borders of the game window.
Unity 5:
Pre Unity 5:
Unity 5:
Cursor.lockState = CursorLockMode.Confined;
Cursor.lockState = CursorLockMode.Locked;
Cursor.visible = false;
Pre Unity 5:
Screen.lockCursor = true;
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device