public void OnPointerDown(PointerEventData eventData)
        {
            keyboard.PresentKeyboard();

            keyboard.OnClosed        += DisableKeyboard;
            keyboard.OnTextSubmitted += DisableKeyboard;
            keyboard.OnTextUpdated   += UpdateText;
        }
Example #2
0
 public void OnPointerDown(PointerEventData eventData)
 {
     //Add event
     keyboard.PresentKeyboard();
     keyboard.OnClosed        += DisableKeyboard;
     keyboard.OnTextSubmitted += DisableKeyboard;
     keyboard.OnTextUpdated   += UpdateText;
     keyboard.SubmitOnEnter    = true;
     keyboard.OnTextSubmitted += enterClicked;
 }
Example #3
0
        public void OnPointerDown(PointerEventData eventData)
        {
            inputField = GetComponent <TMP_InputField>();

            keyboard.Close();
            keyboard.PresentKeyboard();

            keyboard.OnClosed        += DisableKeyboard;
            keyboard.OnTextSubmitted += DisableKeyboard;
            keyboard.OnTextUpdated   += UpdateText;
        }