Adds a Barrel effect.
A barrel effect allows you to apply either a 'pinch' or 'expand' distortion to a Game Object. The amount of the effect can be modified in real-time.
name | type | arguments | Default | description |
---|---|---|---|---|
amount | number | <optional> | 1 |
The amount of distortion applied to the barrel effect. A value of 1 is no distortion. Typically keep this within +- 1. |
The Barrel FX Controller.