Skip to main content

ParticleImpactor

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​

MemberWhat it is
ParticleImpactor()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

5 private and internal fields
MemberWhat it is
private ImpactChannel channelBacking field for Channel.
private ImpactType damageTypeBacking field for DamageType.
private ParticleSystem localParticleSystemBacking field for ParticleSystem.
private float particleCrippleDamageBacking field for ParticleCrippleDamage.
private float particleHealthDamageBacking field for ParticleHealthDamage.

Properties​

MemberWhat 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.