private void DrawReadonlyIOSInfoPlistItem(iOSInfoPlistItem item) { EditorGUILayout.BeginVertical(); EditorGUILayout.LabelField(item.Key, EditorStyles.label); EditorGUILayout.SelectableLabel(item.Value, EditorStyles.textField, GUILayout.Height(EditorGUIUtility.singleLineHeight)); EditorGUILayout.EndVertical(); }
private string DrawEditableIOSInfoPlistItem(iOSInfoPlistItem item) { EditorGUILayout.BeginVertical(); EditorGUILayout.LabelField(item.Key, EditorStyles.label); item.Value = EditorGUILayout.TextField(item.Value); EditorGUILayout.EndVertical(); return(item.Value); }