private static string GetExtension(CurveLibraryType curveLibraryType)
{
if (curveLibraryType != CurveLibraryType.NormalizedZeroToOne)
{
if (curveLibraryType == CurveLibraryType.Unbounded)
{
return PresetLibraryLocations.GetCurveLibraryExtension(false);
}
}
else
{
return PresetLibraryLocations.GetCurveLibraryExtension(true);
}
Debug.LogError("Enum not handled!");
return "curves";
}