Esempio n. 1
0
        public void InputFieldEndEdit(string text)
        {
            if ((Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.KeypadEnter)) && m_Control != null && double.TryParse(text, out double value))
            {
                m_Control.UpdateValueAbs(value);
            }

            m_Control.TMProIsInteractable  = false;
            m_EditFieldButton.interactable = true;
            m_Control.UnlockKeyboard();
            UpdateGUI();
        }