Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseScript interface for the Force Over Lifetime module.
See Also: ParticleSystem, ParticleSystem.forceOverLifetime.
enabled | Enable/disable the Force Over Lifetime module. |
randomized | When randomly selecting values between two curves or constants, this flag will cause a new random force to be chosen on each frame. |
space | Are the forces being applied in local or world space? |
x | The curve defining particle forces in the X axis. |
y | The curve defining particle forces in the Y axis. |
z | The curve defining particle forces in the Z axis. |