Colorized Particles

Presented by ColorizedParticles class, this component allows to change particle system color both in runtime and Edit mode by changing one parameter in inspector or calling one method from code. Instead of annoying manipulations with MinMaxGradient, ColorOverLifetimeModule and MainModule, you can switch particles color much faster via this component!

Colorized particles

You can find example Smoke VFX prefab with attached ColorizedParticles component in Heroic Engine/Example/Prefabs/VFX directory.


How to use it

Just attach ColorizedParticles component onto your gameobject with ParticleSystem.


Parameters in inspector

Parameters in inspector

Color – needed color of particles.


Available methods

public void SetColor(Color newColor)

This method sets needed particles color. It changes both Start color of Main Module and Lifetime gradient color.

Last updated