Language
Edit

IEffect Interface

Definition

An interface defining a state effect that StateVisualizer can use.

public interface IEffect
type IEffect = interface
Public Interface IEffect
Derived

Methods

Name Description
Evaluate(Single)

Called by the StateVisualizer every frame.Playable-based effects should update their internal state and control their UnityEngine.Playables.Playable here.

Setup(PlayableGraph, GameObject)

Called by the StateVisualizer on Start(). Playable-based effects should initialize their UnityEngine.Playables.Playable here.

Applies to