Common color weapencolor// The color on the sword after use.
Common color basic color; //I didn't use the color on the sword before.
game object king light weapen = game object。 find(" weave light "); //Particle system on the sword
basic loc = kinglitweapen . particle system . start color; //Save the original color
king light weapen . particle system . start color = weapen color; //Refresh color
Beginners teach themselves. This method may not be very good. If there is a good method, please tell me.
Please correct me if your opinion is inappropriate. Thank you very much.