EditorGUI.CurveFieldstatic function CurveField (position : Rect, value : AnimationCurve) : AnimationCurvestatic function CurveField (position : Rect, label : String, value : AnimationCurve) : AnimationCurvestatic function CurveField (position : Rect, label : GUIContent, value : AnimationCurve) : AnimationCurvestatic function CurveField (position : Rect, value : AnimationCurve, color : Color, ranges : Rect) : AnimationCurvestatic function CurveField (position : Rect, label : String, value : AnimationCurve, color : Color, ranges : Rect) : AnimationCurvestatic function CurveField (position : Rect, label : GUIContent, value : AnimationCurve, color : Color, ranges : Rect) : AnimationCurveParameters
ReturnsAnimationCurve - The curve edited by the user. DescriptionMake a field for editing an AnimationCurve.
// Makes the selected GameObject follow the animation curve. And the script attached to this editor script: // FollowAnimationCurve.js
static function CurveField (position : Rect, value : SerializedProperty, color : Color, ranges : Rect) : voidParameters
DescriptionMake a field for editing an AnimationCurve.
|

