PasteGradient() public static method

public static PasteGradient ( UnityEditor.SerializedProperty gradientProperty, UnityEditor.SerializedProperty gradientProperty2 ) : void
gradientProperty UnityEditor.SerializedProperty
gradientProperty2 UnityEditor.SerializedProperty
return void
Exemplo n.º 1
0
 private void Paste()
 {
     ParticleSystemClipboard.PasteGradient(this.m_Prop1, null);
     if (this.m_Prop1 != null)
     {
         this.m_Prop1.serializedObject.ApplyModifiedProperties();
     }
     GradientPreviewCache.ClearCache();
 }
 private void Paste()
 {
     ParticleSystemClipboard.PasteGradient(m_Prop1, null);
     if (m_Prop1 != null)
     {
         m_Prop1.serializedObject.ApplyModifiedProperties();
     }
     UnityEditorInternal.GradientPreviewCache.ClearCache();
 }
 private void Paste()
 {
     ParticleSystemClipboard.PasteGradient(this.m_Prop1, null);
     GradientPreviewCache.ClearCache();
 }