PasteAnimationCurves() публичный статический Метод

public static PasteAnimationCurves ( UnityEditor.SerializedProperty animCurveProperty, UnityEditor.SerializedProperty animCurveProperty2, UnityEditor.SerializedProperty scalarProperty, Rect curveRanges, ParticleSystemCurveEditor particleSystemCurveEditor ) : void
animCurveProperty UnityEditor.SerializedProperty
animCurveProperty2 UnityEditor.SerializedProperty
scalarProperty UnityEditor.SerializedProperty
curveRanges UnityEngine.Rect
particleSystemCurveEditor ParticleSystemCurveEditor
Результат void
Пример #1
0
 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);
 }