protected override void ValueGUIImpl() { valueGUIContent.text = TypedDrawingValue != null?TypedDrawingValue.ToString() : "(null)"; EditorGUILayout.LabelField(valueGUIContent); typedDrawnValue = TypedDrawingValue; }
protected override void ValueGUIImpl() { var valueString = EditorGUILayout.TextField(TypedDrawingValue.ToString()); typedDrawnValue = string.IsNullOrEmpty(valueString) ? '\0' : valueString[0]; }