Ejemplo n.º 1
0
 private void OnKeyboardClosed(VREvent_t args)
 {
     inputField.DeactivateInputField();
     if (activeKeyboard != this)
     {
         return;
     }
     keyboardShowing = false;
     activeKeyboard  = null;
 }
Ejemplo n.º 2
0
    IEnumerator OpenKeyboard()
    {
        yield return(new WaitForSeconds(.25f));

        if (!keyboardShowing)
        {
            keyboardShowing = true;
            activeKeyboard  = this;
            SteamVR.instance.overlay.ShowKeyboard(1, 0, "Description", 256, inputField.text, minimalMode, 0);
        }
    }