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
Radius
[Tooltip("World units. 0 = the event's Amount.")]
[Min(0)]
public float Radius
Field Value
Seconds
[Tooltip("Burst length in seconds. 0 = the default burst length.")]
[Min(0)]
public float Seconds
Field Value
Shake
[Tooltip("Screen shake strength, 0 = none.")]
[Min(0)]
public float Shake
Field Value
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