UnityEditor.CurveEditorWindow.ValidateCurveLibraryTypeAndScale C# (CSharp) Method

ValidateCurveLibraryTypeAndScale() private method

private ValidateCurveLibraryTypeAndScale ( ) : void
return void
        private void ValidateCurveLibraryTypeAndScale()
        {
            Rect rect;
            if (this.GetNormalizationRect(out rect))
            {
                if (this.curveLibraryType != CurveLibraryType.NormalizedZeroToOne)
                {
                    Debug.LogError("When having a normalize rect we should be using curve library type: NormalizedZeroToOne (normalizationRect: " + rect + ")");
                }
            }
            else if (this.curveLibraryType != CurveLibraryType.Unbounded)
            {
                Debug.LogError("When NOT having a normalize rect we should be using library type: Unbounded");
            }
        }