Summary
[Pro-Only]
Adds the specified `callback` to every event with the specified `name`
and returns the number of events that were found.
Animancer.AnimancerEvent.GetCurrentParameter``1
will be used to get the callback's parameter.
Syntax
public int AddCallbacks<T>(StringReference name, Action<T> callback)
Type Parameters
Parameters
Return Value
See Also
- Animancer.AnimancerEvent.Sequence.AddCallback``1(Animancer.StringReference,System.Action{``0})
- Animancer.AnimancerEvent.Sequence.IndexOf(Animancer.StringReference,System.Int32)