I've had no luck in getting this to work.
I assume it's supposed to be a curve editor but it only displays the curve on a solid background.
Is this all it is? No key handles/no editing/nothing pretty. Not even any borders on the control.
Anywho, thanks for any info.
I tried EditorGUIUtility.LooksLikeControls/LooksLikeInspector and they do nothing to change this.
asked May 10 '11 at 08:25 PM
Like the name may suggest Draw CurveSwatch draws the curve, nothing more ;) The only controls that affect values are like all GUI elements inside EditorGUI or EditorGUILayout. You might want to use a EditorGUI.CurveField instead?
EditorGUIUtility contains just some utility functions most of them just influence the appearence but have no effect on the function (with some exceptions of course ;)).
answered May 10 '11 at 11:23 PM