Answers for "random between three colors particle system trough script unity"

C#
1

set particle system start colour + random between two

//Main Particle system attached to the thruster
ParticleSystem thrusterPS = thruster.GetComponent<ParticleSystem>();
var main = thrusterPS.main;
main.startColor = new ParticleSystem.MinMaxGradient(thrusterColour1, thrusterColour2);
Posted by: Guest on October-02-2020

Code answers related to "random between three colors particle system trough script unity"

C# Answers by Framework

Browse Popular Code Answers by Language