private void ResetTextFields() { EditorGUI.EndEditingActiveTextField(); GUIUtility.keyboardControl = 0; }