Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Modifying Particle Color Gradients Without Affecting Existing Particles?

Discussion in 'Scripting' started by atalkingfish, Jun 12, 2020.

  1. atalkingfish

    atalkingfish

    Joined:
    Sep 17, 2018
    Posts:
    34
    I have a functioning system that updates the Min and Max particle system color gradients with script, and it is all working as intended, with the exception of the following: is it possible to change these attributes in a way that does not affect existing particles? Currently, changing the particle system colors makes all existing particles change color, rather than just ones emitted after the code is executed. Is there a way to accomplish this?
     
  2. arfish

    arfish

    Joined:
    Jan 28, 2017
    Posts:
    247
    Hi,

    Not sure if you can do that. How about using two, or a few particle systems, and changing the number of particles to toon them in and out to get the effect you are looking for?
     
unityunity