Skip to content

Class: FxInterpolatedEffectBase ​

csharp
public abstract class FxInterpolatedEffectBase : MonoBehaviour, IEffectComponent, IEffectWithSpeed

Fields ​

NameDeclarationDescription
decayTime`[BoxGroup("Interpolated Effect", true, false, 0)]
public float decayTime`
delay`[BoxGroup("Interpolated Effect", true, false, 0)]
public float delay`
isLoop`[BoxGroup("Interpolated Effect", true, false, 0)]
public bool isLoop`
startTime`[BoxGroup("Interpolated Effect", true, false, 0)]
public float startTime`
sustainTime`[ShowIf("@!isLoop", true)]
[BoxGroup("Interpolated Effect", true, false, 0)]
public float sustainTime`

Properties ​

NameDeclarationDescription
currentLinearValuepublic float currentLinearValue { get; set; }
currentValuepublic float currentValue { get; set; }
isEmittingpublic bool isEmitting { get; }
isPlayingpublic bool isPlaying { get; }

Methods ​

ApplySpeedMultiplier(float) ​

csharp
public void ApplySpeedMultiplier(float speed)

Parameters:

NameTypeDescription
speedfloat

Awake() ​

csharp
protected void Awake()

OnInit() ​

Guaranteed to be called once when this effect starts, before this effect sets a value.

csharp
protected virtual void OnInit()

Play() ​

csharp
public virtual void Play()

Start() ​

csharp
protected virtual void Start()

Stop() ​

csharp
public virtual void Stop()

Update() ​

csharp
protected virtual void Update()

ValueSetter(float) ​

csharp
protected abstract void ValueSetter(float value)

Parameters:

NameTypeDescription
valuefloat

Maintained by the Shape of Dreams Modding Community