AnimancerEvent.

Parametize<T>(Action<T>) Method

Summary

Returns a new delegate which invokes the `callback` using Animancer.AnimancerEvent.GetCurrentParameter``1.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerEvent

Syntax

public static Action Parametize<T>(Action<T> callback)

Remarks

If T is string, consider using Animancer.AnimancerEvent.Parametize(System.Action{System.String}) instead of this.

Type Parameters

Name Description
T

Parameters

Name Type Description
callback Action<T>

Return Value

Type Description
Action