AnimancerEvent.Sequence.

AnimancerEvent.

AddCallback<T>(int, Action<T>) Method

Summary

[Pro-Only] Adds the specified `callback` to the event at the specified `index`. Animancer.AnimancerEvent.GetCurrentParameter``1 will be used to get the callback's parameter.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerEvent.Sequence

Syntax

public Action AddCallback<T>(int index, Action<T> callback)

Type Parameters

Name Description
T

Parameters

Name Type Description
index int
callback Action<T>

Return Value

Type Description
Action

See Also

  • Animancer.AnimancerEvent.Sequence.AddCallback``1(Animancer.StringReference,System.Action{``0})
  • Animancer.AnimancerEvent.Sequence.AddCallbacks``1(Animancer.StringReference,System.Action{``0})