This module specifies how a particle’s color and transparency vary over time.
Property: | Function: |
---|---|
Color | The color gradient of a particle over its lifetime. |
Many types of natural and fantastical particles vary in color over time and so this property has many uses. For example, white hot sparks will cool as they pass through the air and a magic spell might burst into a rainbow of colors. Perhaps the more important aspect, though, is the variation of alpha (transparency). It is very common for particles to burn out, fade or dissipate as they reach the end of their lifetime (hot sparks, fireworks, smoke particles) and a simple diminishing gradient produces this effect very convincingly.
Is something described here not working as you expect it to? It might be a Known Issue. Please check with the Issue Tracker at issuetracker.unity3d.com.