UnityEditor.DoubleCurvePresetLibrary.DrawInternal C# (CSharp) Method

DrawInternal() private method

private DrawInternal ( Rect rect, DoubleCurve doubleCurve ) : void
rect UnityEngine.Rect
doubleCurve DoubleCurve
return void
        private void DrawInternal(Rect rect, DoubleCurve doubleCurve)
        {
            if (doubleCurve == null)
            {
                Debug.Log("DoubleCurve is null");
            }
            else
            {
                EditorGUIUtility.DrawRegionSwatch(rect, doubleCurve.maxCurve, doubleCurve.minCurve, new Color(0.8f, 0.8f, 0.8f, 1f), EditorGUI.kCurveBGColor, !doubleCurve.signedRange ? this.kUnsignedRange : this.kSignedRange);
            }
        }