Has anyone found a way to change Shuriken particles with c# while it is in transit.
SOLVED.
I'm trying to finish up my weather system and for the life of me I cannot make my billboard clouds go dark when it is raining. I just discovered thought that foreach will not work to get individual particles out of a particle system so I thought I'd stop by and ask. if anyone has fooled around with this and has experience then I would appreciate hearing about it.
Answer by holdingjupiter · Oct 01, 2015 at 01:30 AM
I found an answer in an old answer thread. Well a few steps in. I figured out I could just change the material instead of trying to mess with the particle colors and all their complexity, but then I found out that the particle shaders throw an error if you try to do material.color with them. So at that point I found an old thread that explained the usage of.
material.SetColor("_ColorTint", yourColor);
color tint is the specific name of the attribute the particle shaders use instead of material.color. so the your color is whatever color you wish.