|
|
@ -59,7 +59,10 @@ public class ParticleTrailController : MonoBehaviour |
|
|
|
|
|
|
|
|
var velocityOverLifetime = effect.velocityOverLifetime; |
|
|
var velocityOverLifetime = effect.velocityOverLifetime; |
|
|
velocityOverLifetime.enabled = true; |
|
|
velocityOverLifetime.enabled = true; |
|
|
velocityOverLifetime.radial = new ParticleSystem.MinMaxCurve(-30, 30); |
|
|
|
|
|
|
|
|
velocityOverLifetime.space = ParticleSystemSimulationSpace.Local; |
|
|
|
|
|
velocityOverLifetime.x = new ParticleSystem.MinMaxCurve(-30, 30); |
|
|
|
|
|
velocityOverLifetime.y = new ParticleSystem.MinMaxCurve(0, 0); |
|
|
|
|
|
velocityOverLifetime.z = new ParticleSystem.MinMaxCurve(30, -30); |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
case ParticleTrail.SlightBlood: |
|
|
case ParticleTrail.SlightBlood: |
|
|
|