I see how to set a particle's color based on a gradient (e.g. this & this) but I can't find anything on how to get the color.
I have a particle system with the start color set to random with a gradient. I've tried...
Color myColor = myParticleSystem.main.startColor.color
... but it always returns black, regardless of the gradient colors.
I don't see anything in the docs or forums about how to actually get the color that was randomly chosen.
Using Unity 2017.3. Thanks.