particle system change start color code example
Example: particle system start color
Color myColor;
var particlesMain = gameObject.GetComponent<ParticleSystem>().main;
particlesMain.startColor = myColor;
Color myColor;
var particlesMain = gameObject.GetComponent<ParticleSystem>().main;
particlesMain.startColor = myColor;