AnimancerGraph.

RequirePreUpdate(IUpdatable) Method

Summary

[Pro-Only] Adds the `updatable` to the list that need to be updated before the playables if it wasn't there already.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerGraph

Syntax

public void RequirePreUpdate(IUpdatable updatable)

Remarks

The UnityEngine.Animator.updateMode determines the update rate.

This method is safe to call at any time, even during an update.

The execution order is non-deterministic. Specifically, the most recently added will be updated first and Animancer.AnimancerGraph.CancelPreUpdate(Animancer.IUpdatable) will change the order by swapping the last one into the place of the removed object.

Parameters

Name Type Description
updatable IUpdatable

Return Value

Type Description
void