Search Results for

    Show / Hide Table of Contents

    Class FxInterpolatedEffectBase

    Inheritance
    object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    FxInterpolatedEffectBase
    FxEntityColor
    FxEntityShake
    FxEntityShell
    FxEntityTransform
    FxGameObject
    FxGibs
    FxMaterialProperty
    FxMeshTrail
    FxPointLight
    FxVolume
    Implements
    IEffectComponent
    IEffectWithSpeed
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    public abstract class FxInterpolatedEffectBase : MonoBehaviour, IEffectComponent, IEffectWithSpeed

    Fields

    decayTime

    Declaration
    [BoxGroup("Interpolated Effect", true, false, 0)]
    public float decayTime
    Field Value
    Type Description
    float

    delay

    Declaration
    [BoxGroup("Interpolated Effect", true, false, 0)]
    public float delay
    Field Value
    Type Description
    float

    isLoop

    Declaration
    [BoxGroup("Interpolated Effect", true, false, 0)]
    public bool isLoop
    Field Value
    Type Description
    bool

    startTime

    Declaration
    [BoxGroup("Interpolated Effect", true, false, 0)]
    public float startTime
    Field Value
    Type Description
    float

    sustainTime

    Declaration
    [ShowIf("@!isLoop", true)]
    [BoxGroup("Interpolated Effect", true, false, 0)]
    public float sustainTime
    Field Value
    Type Description
    float

    Properties

    currentLinearValue

    Declaration
    public float currentLinearValue { get; set; }
    Property Value
    Type Description
    float

    currentValue

    Declaration
    public float currentValue { get; set; }
    Property Value
    Type Description
    float

    isEmitting

    Declaration
    public bool isEmitting { get; }
    Property Value
    Type Description
    bool

    isPlaying

    Declaration
    public bool isPlaying { get; }
    Property Value
    Type Description
    bool

    Methods

    ApplySpeedMultiplier(float)

    Declaration
    public void ApplySpeedMultiplier(float speed)
    Parameters
    Type Name Description
    float speed

    Awake()

    Declaration
    protected void Awake()

    OnInit()

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

    Declaration
    protected virtual void OnInit()

    Play()

    Declaration
    public virtual void Play()

    Start()

    Declaration
    protected virtual void Start()

    Stop()

    Declaration
    public virtual void Stop()

    Update()

    Declaration
    protected virtual void Update()

    ValueSetter(float)

    Declaration
    protected abstract void ValueSetter(float value)
    Parameters
    Type Name Description
    float value

    Implements

    IEffectComponent
    IEffectWithSpeed

    Extension Methods

    DewGUI.SetExpandHeight<T>(T, bool)
    DewGUI.SetExpandHeight<T>(T, float)
    DewGUI.SetExpandWidth<T>(T, bool)
    DewGUI.SetExpandWidth<T>(T, float)
    DewGUI.SetHeight<T>(T, float)
    DewGUI.SetText<T>(T, string)
    DewGUI.SetTextLocalized<T>(T, string)
    DewGUI.SetWidth<T>(T, float)
    In This Article
    Back to top Shape of Dreams API Documentation