UnityEditor.CurvePresetLibrary.DrawInternal C# (CSharp) Method

DrawInternal() private method

private DrawInternal ( Rect rect, AnimationCurve animCurve ) : void
rect UnityEngine.Rect
animCurve UnityEngine.AnimationCurve
return void
        private void DrawInternal(Rect rect, AnimationCurve animCurve)
        {
            if (animCurve != null)
            {
                EditorGUIUtility.DrawCurveSwatch(rect, animCurve, null, new Color(0.8f, 0.8f, 0.8f, 1f), EditorGUI.kCurveBGColor);
            }
        }