ValueOperatedParticleSystem
A class in Root.Township, the global namespace.
Drives a particle system's playback speed or emission rates from one 0 to 1 value through curves. Client only; does nothing on a headless server.
- Listed in Global namespace: T to X
- Inherits or implements
MonoBehaviour - Nested types
EmissionOperator,EmissionRateOverDistanceOperator,EmissionRateOverTimeOperator,ParticleSystemValue,ParticleSystemValueOperator,ParticleSystemValueOperatorDefinition,PlaybackSpeedOperator
Constructors
| Member | What it is |
|---|---|
ValueOperatedParticleSystem() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private ValueOperatedParticleSystem.ParticleSystemValueOperatorDefinition[] operators | The values to drive and their curves. |
private ParticleSystem targetSystem | The particle system to change. |
Methods
| Member | What it is |
|---|---|
void SetValue(float value) | Client: passes the value to every operator, which maps it through its curve and applies it. |
1 private and internal method
Used in
Members of other types that take, return or hold a ValueOperatedParticleSystem: