📅  最后修改于: 2022-03-11 14:49:13.230000             🧑  作者: Mango
//Main Particle system attached to the thruster
ParticleSystem thrusterPS = thruster.GetComponent();
var main = thrusterPS.main;
main.startColor = new ParticleSystem.MinMaxGradient(thrusterColour1, thrusterColour2);