|
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.
(comments are locked)
|
|
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 ;)). Yeah I came to that unfortunate conclusion :). Thanks for the assist m8.
May 13 '11 at 10:00 AM
Inuous
(comments are locked)
|
