Summary
[Pro-Only]
Adds the specified `callback` to every event with the specified `name`
and returns the number of events that were found.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerEvent
.Sequence
Syntax
public int AddCallbacks(StringReference name, Action callback)
Parameters
Name | Type | Description |
---|---|---|
name | StringReference | |
callback | Action |
Return Value
Type | Description |
---|---|
int |
See Also
- Animancer.AnimancerEvent.Sequence.AddCallback(Animancer.StringReference,System.Action)
- Animancer.AnimancerEvent.Sequence.IndexOf(Animancer.StringReference,System.Int32)