Method ApplyEffect
ApplyEffect(EffectDuration, Effect, TimeSpan)
Applies the specified effect at this location.
public void ApplyEffect(EffectDuration durationType, Effect effect, TimeSpan duration = default)
Parameters
durationTypeEffectDurationThe duration type to apply with this effect.
effectEffectThe effect to apply.
durationTimeSpanIf duration type is Temporary, the duration of this effect.