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");
}
}