UnityEditor.CurveEditorWindow.ValidateCurveLibraryTypeAndScale C# (CSharp) 메소드

ValidateCurveLibraryTypeAndScale() 개인적인 메소드

private ValidateCurveLibraryTypeAndScale ( ) : void
리턴 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");
            }
        }