IEffect Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |