How change the color of this Shader by script ?

Hello.

Recently I bought the asset Magic Arsenal :

With this assset, I can create a particule :

In the component “WaterSlasph” (parameter Tint Color), I can change the particule color manually :

I would like to change the color of this particule by a C#

    void Awake()
    {
            Shader.Find("Legacy Shaders/Particules/Additive")
    }

Can you help me ?

Assuming you have a material assigned in a particle system:

ParticleSystemRenderer particleRend;

void Start()
{
    particleRend = GetComponent<ParticleSystemRenderer>();
    Material particleMat = particleRend.material;
    particleMat.color = new Color(1,0,0);
}

You get the ParticleSystemRenderer in your particle, then change the material that assigned to it, or assign a new material.

If the material property doesn’t get changed, then it’s most likely different/non-standard name than assumed… In that case you have to find it by name:

material.setColor("_CustomName", Color.red);

@Olmi thank you so much for your answer.
I will try to understand and update my code.