Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
p4blo's avatar
p4blo
Honored Guest
11 years ago

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

2 Replies

Replies have been turned off for this discussion
  • The 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;
    }
  • p4blo's avatar
    p4blo
    Honored Guest
    Thanks so much cybereality. You helped me to find it!