IEffect.Evaluate(Single) Method
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.
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.