CopyGradient() public static méthode

public static CopyGradient ( Gradient gradient1, Gradient gradient2 ) : void
gradient1 UnityEngine.Gradient
gradient2 UnityEngine.Gradient
Résultat void
        private void Copy()
        {
            Gradient gradient = (this.m_Prop1 == null) ? null : this.m_Prop1.gradientValue;

            ParticleSystemClipboard.CopyGradient(gradient, null);
        }
        private void Copy()
        {
            Gradient gradientValue = this.m_Prop1?.gradientValue;

            ParticleSystemClipboard.CopyGradient(gradientValue, null);
        }
        private void Copy()
        {
            Gradient gradient1 = m_Prop1 != null ? m_Prop1.gradientValue : null;

            ParticleSystemClipboard.CopyGradient(gradient1, null);
        }
Exemple #4
0
 private void Copy()
 {
     ParticleSystemClipboard.CopyGradient(this.m_Prop1 == null ? (Gradient)null : this.m_Prop1.gradientValue, (Gradient)null);
 }