Answers for "random between two colors particle system trough script"

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 two colors particle system trough script"

C# Answers by Framework

Browse Popular Code Answers by Language