Class CustomEventEffect

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

A built-in effect played for every event whose CustomId matches Id.

public sealed class CustomEventEffect
Inheritance
CustomEventEffect
Inherited Members

Constructors

CustomEventEffect()

public CustomEventEffect()

Fields

Color

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

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

Field Value

Color

Id

Case-sensitive custom event id matched against SimEvent.CustomId; empty matches no custom event.

[Tooltip("Case-sensitive custom event id matched against SimEvent.CustomId; empty matches no custom event.")]
public string Id

Field Value

string

Radius

[Tooltip("World units. 0 = the event's Amount.")]
[Min(0)]
public float Radius

Field Value

float

Seconds

[Tooltip("Burst length in seconds. 0 = the default burst length.")]
[Min(0)]
public float Seconds

Field Value

float

Shake

[Tooltip("Screen shake strength, 0 = none.")]
[Min(0)]
public float Shake

Field Value

float

Style

Visual style for the custom event; None omits the built-in effect.

[Tooltip("Visual style for the custom event; None omits the built-in effect.")]
public CustomEffectStyle Style

Field Value

CustomEffectStyle