Class CombatEffectSettings

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

Pooled one-shot effects: explosions, chain lightning, sparkles and ring bursts.

public sealed class CombatEffectSettings
Inheritance
CombatEffectSettings
Inherited Members

Constructors

CombatEffectSettings()

public CombatEffectSettings()

Fields

BurstSeconds

Burst Seconds in seconds; nonnegative.

[Tooltip("Burst Seconds in seconds; nonnegative.")]
public float BurstSeconds

Field Value

float

ChainColor

Chain Color in RGBA; alpha 0 = transparent, 1 = opaque.

[Tooltip("Chain Color in RGBA; alpha 0 = transparent, 1 = opaque.")]
public Color ChainColor

Field Value

Color

ChainCoreColor

Chain Core Color in RGBA; alpha 0 = transparent, 1 = opaque.

[Tooltip("Chain Core Color in RGBA; alpha 0 = transparent, 1 = opaque.")]
public Color ChainCoreColor

Field Value

Color

ChainCoreWidth

Chain Core Width in world units; use nonnegative sizes and signed offsets.

[Tooltip("Chain Core Width in world units; use nonnegative sizes and signed offsets.")]
public float ChainCoreWidth

Field Value

float

ChainJitter

Chain Jitter in world units; use nonnegative sizes and signed offsets.

[Tooltip("Chain Jitter in world units; use nonnegative sizes and signed offsets.")]
public float ChainJitter

Field Value

float

ChainRejitterSeconds

Chain Rejitter Seconds in seconds; nonnegative.

[Tooltip("Chain Rejitter Seconds in seconds; nonnegative.")]
public float ChainRejitterSeconds

Field Value

float

ChainSeconds

Chain Seconds in seconds; nonnegative.

[Tooltip("Chain Seconds in seconds; nonnegative.")]
public float ChainSeconds

Field Value

float

ChainSegments

Lightning line segment count; larger values add detail.

[Tooltip("Lightning line segment count; larger values add detail.")]
public int ChainSegments

Field Value

int

ChainWidth

Chain Width in world units; use nonnegative sizes and signed offsets.

[Tooltip("Chain Width in world units; use nonnegative sizes and signed offsets.")]
public float ChainWidth

Field Value

float

Enabled

Enable these visual effects; off skips this presentation feature without changing gameplay.

[Tooltip("Enable these visual effects; off skips this presentation feature without changing gameplay.")]
public bool Enabled

Field Value

bool

ExplosionFlashColor

Explosion Flash Color in RGBA; alpha 0 = transparent, 1 = opaque.

[Tooltip("Explosion Flash Color in RGBA; alpha 0 = transparent, 1 = opaque.")]
public Color ExplosionFlashColor

Field Value

Color

ExplosionFlashSeconds

Explosion Flash Seconds in seconds; nonnegative.

[Tooltip("Explosion Flash Seconds in seconds; nonnegative.")]
public float ExplosionFlashSeconds

Field Value

float

ExplosionRingColor

Explosion Ring Color in RGBA; alpha 0 = transparent, 1 = opaque.

[Tooltip("Explosion Ring Color in RGBA; alpha 0 = transparent, 1 = opaque.")]
public Color ExplosionRingColor

Field Value

Color

ExplosionSeconds

Explosion Seconds in seconds; nonnegative.

[Tooltip("Explosion Seconds in seconds; nonnegative.")]
public float ExplosionSeconds

Field Value

float

ExplosionShake

Camera shake strength per explosion; 0 = none.

[Tooltip("Camera shake strength per explosion; 0 = none.")]
public float ExplosionShake

Field Value

float

ExplosionSparkSize

Explosion Spark Size in world units; use nonnegative sizes and signed offsets.

[Tooltip("Explosion Spark Size in world units; use nonnegative sizes and signed offsets.")]
public float ExplosionSparkSize

Field Value

float

ExplosionSparkSpeed

Explosion Spark Speed in world units per second; nonnegative.

[Tooltip("Explosion Spark Speed in world units per second; nonnegative.")]
public float ExplosionSparkSpeed

Field Value

float

ExplosionSparks

Spark count per explosion; nonnegative, 0 = no sparks.

[Tooltip("Spark count per explosion; nonnegative, 0 = no sparks.")]
public int ExplosionSparks

Field Value

int

HordeBurstRadius

Horde Burst Radius in world units; use nonnegative sizes and signed offsets.

[Tooltip("Horde Burst Radius in world units; use nonnegative sizes and signed offsets.")]
public float HordeBurstRadius

Field Value

float

HordeColor

Horde Color in RGBA; alpha 0 = transparent, 1 = opaque.

[Tooltip("Horde Color in RGBA; alpha 0 = transparent, 1 = opaque.")]
public Color HordeColor

Field Value

Color

ImpactSize

Impact Size in world units; use nonnegative sizes and signed offsets.

[Tooltip("Impact Size in world units; use nonnegative sizes and signed offsets.")]
public float ImpactSize

Field Value

float

MaxActive

Maximum simultaneous visual instances; nonnegative, 0 disables new instances.

[Tooltip("Maximum simultaneous visual instances; nonnegative, 0 disables new instances.")]
public int MaxActive

Field Value

int

MaxChains

Maximum simultaneous lightning chains; nonnegative.

[Tooltip("Maximum simultaneous lightning chains; nonnegative.")]
public int MaxChains

Field Value

int

Prewarm

Objects created before use to reduce allocations; nonnegative, 0 = no prewarming.

[Tooltip("Objects created before use to reduce allocations; nonnegative, 0 = no prewarming.")]
public int Prewarm

Field Value

int

SortingOrder

Sprite sorting order; larger values draw in front within the sorting layer.

[Tooltip("Sprite sorting order; larger values draw in front within the sorting layer.")]
public int SortingOrder

Field Value

int

SparkleColor

Sparkle Color in RGBA; alpha 0 = transparent, 1 = opaque.

[Tooltip("Sparkle Color in RGBA; alpha 0 = transparent, 1 = opaque.")]
public Color SparkleColor

Field Value

Color

SparkleSeconds

Sparkle Seconds in seconds; nonnegative.

[Tooltip("Sparkle Seconds in seconds; nonnegative.")]
public float SparkleSeconds

Field Value

float

SparkleSize

Sparkle Size in world units; use nonnegative sizes and signed offsets.

[Tooltip("Sparkle Size in world units; use nonnegative sizes and signed offsets.")]
public float SparkleSize

Field Value

float