Skip to main content
Participant
February 13, 2015

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
    This topic has been closed for replies.

    2 replies

    Inspiring
    February 13, 2015
    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;
    }
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    p4bloAuthor
    Participant
    February 16, 2015
    Thanks so much cybereality. You helped me to find it!