Class CharacterVisualSettings

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

Character Visual tuning; defaults are defined by the field initializers and can be overridden per game.

public sealed class CharacterVisualSettings
Inheritance
CharacterVisualSettings
Inherited Members

Constructors

CharacterVisualSettings()

public CharacterVisualSettings()

Fields

AttackScale

Additional X/Y scale during the attack punch; zero = no punch.

[Tooltip("Additional X/Y scale during the attack punch; zero = no punch.")]
public Vector2 AttackScale

Field Value

Vector2

AttackSeconds

Attack Seconds in seconds; nonnegative.

[Tooltip("Attack Seconds in seconds; nonnegative.")]
public float AttackSeconds

Field Value

float

DeathEndScale

Final scale relative to the initial visual size; 0 shrinks away.

[Tooltip("Final scale relative to the initial visual size; 0 shrinks away.")]
public float DeathEndScale

Field Value

float

DeathSeconds

Death Seconds in seconds; nonnegative.

[Tooltip("Death Seconds in seconds; nonnegative.")]
public float DeathSeconds

Field Value

float

HurtColor

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

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

Field Value

Color

HurtSeconds

Hurt Seconds in seconds; nonnegative.

[Tooltip("Hurt Seconds in seconds; nonnegative.")]
public float HurtSeconds

Field Value

float

MotionEpsilon

Movement threshold in world units for walk animation; nonnegative.

[Tooltip("Movement threshold in world units for walk animation; nonnegative.")]
public float MotionEpsilon

Field Value

float

UseUnscaledTime

Use real frame time for visual animation, independent of Time.timeScale.

[Tooltip("Use real frame time for visual animation, independent of Time.timeScale.")]
public bool UseUnscaledTime

Field Value

bool

WalkBob

Walk Bob in world units; use nonnegative sizes and signed offsets.

[Tooltip("Walk Bob in world units; use nonnegative sizes and signed offsets.")]
public float WalkBob

Field Value

float

WalkFrequency

Walk Frequency; animation oscillation rate per second, 0 = no oscillation.

[Tooltip("Walk Frequency; animation oscillation rate per second, 0 = no oscillation.")]
public float WalkFrequency

Field Value

float

WalkTiltDegrees

Walk Tilt Degrees; angle in degrees.

[Tooltip("Walk Tilt Degrees; angle in degrees.")]
public float WalkTiltDegrees

Field Value

float