ControllerState.ParameterBinding<T>.

ControllerState.

ParameterBinding(Parameter<T>, Action<T>) Constructor

Summary

Invokes `onParameterChanged` and adds it to the Animancer.Parameter`1.OnValueChanged to be removed by Animancer.ControllerState.ParameterBinding`1.Dispose.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
ControllerState.ParameterBinding<T>

Syntax

public ParameterBinding(Parameter<T> parameter, Action<T> onParameterChanged)

Parameters

Name Type Description
parameter Parameter<T>
onParameterChanged Action<T>

Return Value

Type Description
void