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