public static void PasteAnimationCurves(SerializedProperty animCurveProperty, SerializedProperty animCurveProperty2, SerializedProperty scalarProperty, Rect curveRanges, ParticleSystemCurveEditor particleSystemCurveEditor)
{
if ((animCurveProperty != null) && (m_AnimationCurve1 != null))
{
animCurveProperty.animationCurveValue = m_AnimationCurve1;
ClampCurve(animCurveProperty, curveRanges);
}
if ((animCurveProperty2 != null) && (m_AnimationCurve2 != null))
{
animCurveProperty2.animationCurveValue = m_AnimationCurve2;
ClampCurve(animCurveProperty2, curveRanges);
}
if (scalarProperty != null)
{
scalarProperty.floatValue = m_AnimationCurveScalar;
}
if (particleSystemCurveEditor != null)
{
particleSystemCurveEditor.Refresh();
}
}