示例#1
0
        protected override void ValueGUIImpl()
        {
            valueGUIContent.text = TypedDrawingValue != null?TypedDrawingValue.ToString() : "(null)";

            EditorGUILayout.LabelField(valueGUIContent);

            typedDrawnValue = TypedDrawingValue;
        }
示例#2
0
        protected override void ValueGUIImpl()
        {
            var valueString = EditorGUILayout.TextField(TypedDrawingValue.ToString());

            typedDrawnValue = string.IsNullOrEmpty(valueString) ? '\0' : valueString[0];
        }