internal static EditorCurveBinding[] ConvertRotationPropertiesToInterpolationType(EditorCurveBinding[] selection, Mode newInterpolationMode)
{
if ((selection.Length == 4) && (GetModeFromCurveData(selection[0]) == Mode.RawQuaternions))
{
EditorCurveBinding[] bindingArray = new EditorCurveBinding[] { selection[0], selection[1], selection[2] };
string prefixForInterpolation = GetPrefixForInterpolation(newInterpolationMode);
bindingArray[0].propertyName = prefixForInterpolation + ".x";
bindingArray[1].propertyName = prefixForInterpolation + ".y";
bindingArray[2].propertyName = prefixForInterpolation + ".z";
return bindingArray;
}
return selection;
}