Effect Attributes Animation V3

From PopcornFX
Jump to navigation Jump to search
Unity-logo-g.png

Particle effect attributes are exposed on the PKFxFX component's inspector view.

Using the PKFxAnimFloat* classes

  1. Add the PKFxAnimFloat component corresponding to your attribute's type to the GameObject holding the PKFxFX component.
  2. On the PKFxAnimFloat component, set the name of the attribute you want to manipulate.
  3. You can now access the attribute via the helper component's public variable : "value".