A class in Root.Township, Alta.Impact.
Settings for a particle system whose particles deal damage when they hit, such as a spray attack: the impact channel, damage amounts and impact type.
Constructors
| Member | What it is |
|---|
ParticleImpactor() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
5 private and internal fields
| Member | What it is |
|---|
private ImpactChannel channel | Backing field for Channel. |
private ImpactType damageType | Backing field for DamageType. |
private ParticleSystem localParticleSystem | Backing field for ParticleSystem. |
private float particleCrippleDamage | Backing field for ParticleCrippleDamage. |
private float particleHealthDamage | Backing field for ParticleHealthDamage. |
Properties
| Member | What it is |
|---|
ImpactChannel Channel { get; } | The impact channel the particle hits use. |
ImpactType DamageType { get; } | The impact type the particle hits count as. |
float ParticleCrippleDamage { get; } | Cripple damage per particle hit. |
float ParticleHealthDamage { get; } | Health damage per particle hit. |
ParticleSystem ParticleSystem { get; } | The particle system on this object. |