public static PasteAnimationCurves ( UnityEditor.SerializedProperty animCurveProperty, UnityEditor.SerializedProperty animCurveProperty2, UnityEditor.SerializedProperty scalarProperty, |
||
animCurveProperty | UnityEditor.SerializedProperty | |
animCurveProperty2 | UnityEditor.SerializedProperty | |
scalarProperty | UnityEditor.SerializedProperty | |
curveRanges | ||
particleSystemCurveEditor | ParticleSystemCurveEditor | |
return | void |
private void Paste() { ParticleSystemClipboard.PasteAnimationCurves(m_Prop1, m_Prop2, m_Scalar, m_CurveRanges, m_ParticleSystemCurveEditor); if (m_Prop1 != null) { m_Prop1.serializedObject.ApplyModifiedProperties(); } if (m_Prop2 != null) { m_Prop2.serializedObject.ApplyModifiedProperties(); } if (m_Scalar != null) { m_Scalar.serializedObject.ApplyModifiedProperties(); } }
private void Paste() { ParticleSystemClipboard.PasteAnimationCurves(this.m_Prop1, this.m_Prop2, this.m_Scalar, this.m_CurveRanges, this.m_ParticleSystemCurveEditor); }