Forum Discussion
p4blo
11 years agoHonored Guest
Disabling 'Hit return to reset' message
Hi guys,
I want to disable the "Hit return to reset" message. This occurs by default when Right Shift key is pressed. And when return is pressed Unity try to load VRDemo_Tuscany scene (That is not in the build). I want to assign another action in this key but I can't remove this behaviour. I know this is made by default by Oculus Prefab but I can't find the code line with this Input.Getbutton...
Any suggestion?
Thanks so much
I want to disable the "Hit return to reset" message. This occurs by default when Right Shift key is pressed. And when return is pressed Unity try to load VRDemo_Tuscany scene (That is not in the build). I want to assign another action in this key but I can't remove this behaviour. I know this is made by default by Oculus Prefab but I can't find the code line with this Input.Getbutton...
Any suggestion?
Thanks so much
2 Replies
Replies have been turned off for this discussion
- cyberealityGrand ChampionThe code that does this is in OVRMainMenu.cs line 749.
If you "find in files" and search the whole solution for "RightShift" you will find it.
On line 752, you can change it to this so it doesn't go inside the block.if (false && startPressed)
{
ScenesVisible = !ScenesVisible;
} - p4bloHonored GuestThanks so much cybereality. You helped me to find it!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 8 months ago
- 2 years ago
- 8 months ago
- 2 years ago