private Color color | Backing field for Color. |
private AnimationCurve expansionCurve | Curve of burst spread over the expansion time. |
private float expansionRadius | How far particles spread in the burst. |
private AnimationCurve offsetCurve | How much of each particle's burst offset remains along the spline. |
private PositionEvent onOrbFinished | Inspector event raised with the target position each time a particle arrives. |
private float originSpeed | Tangent length at the target end of the spline. |
private float particleGap | Seconds between releasing each group of particles. |
private IUnityUpdateMethod renderUpdate | Update handle. Not used in this code. |
private float speedProgress | Spline progress per second for each particle. |
private BezierSpline spline | Bezier spline from the start point to the target. |
private int stepIncrease | How many particles are released per group. |
private ParticleSystem system | The particle system. |
private ParticleSystemRenderer systemRenderer | The particle renderer, given the trail material once particles start moving. |
private Transform target | Transform the particles fly to. The effect stops if it is destroyed. |
private float targetSpeed | Upward tangent length at the start of the spline. |
private Material trailMaterial | Trail material used while particles travel. |