public void InputFieldEndEdit(string text) { double value; if ((Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.KeypadEnter)) && m_axisControl != null && double.TryParse(text, out value)) { m_axisControl.UpdateValueAbs(value); } m_axisControl.TMProIsInteractable = false; m_EditFieldButton.interactable = true; m_axisControl.unlockKeyboard(); updateAxisValue(); }