Can anyone one write a me a code to set particle system color to player color

can anyone one write a me a code to set particle system color to player color

ParticleSystem particles;

void Start()
{
     particles.startColor = playerColor;
}

Here you go! :slightly_smiling_face:
Apparently, ParticleSystem.startColor is outdated, but still works. I tried doing it with the new one, but I somehow can’t set anything there, so this is the best solution in my opinion.