Language
Edit

IEffect.Evaluate(Single) Method

Definition

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

public bool Evaluate(float parameter);
abstract member Evaluate : single -> bool
Public Function Evaluate (parameter As Single) As Boolean

Parameters

parameter
Single

Returns

true if the effect is complete.

Remarks

If all registered IEffect objects return true, the UnityEngine.Playables.PlayableGraph will be stopped and the animator disabled until an interaction occurs.

Applies to