/// <summary>
    /// Reset keyboard
    /// </summary>
    public void ResetKeyboardProperties()
    {
        //Reset keyboard
        keyboard.ClearKeyboardText();
        keyboard.HideKeyboard();

        //Remove all events attached to the keyboard
        keyboard.OnHideKeyboard.RemoveAllListeners();

        //Reset currently active button
        if (!(CurrentlyActiveTextbox == null))
        {
            CurrentlyActiveTextbox.Button.CurrentDimension = 0;
        }
        CurrentlyActiveTextbox = null;
    }
Пример #2
0
 public void KeyboardCommit()
 {
     keyboard.HideKeyboard();
     keyboard.ClearKeyboardText();
 }