Summary
[Pro-Only]
Adds the specified `callback` to an event with the specified `name`
and returns the index of that event or -1 if there is no such event.
Syntax
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public int AddCallback(StringReference name, Action callback)
Attributes
| Type |
Description |
| MethodImplAttribute |
|
Parameters
Return Value
See Also
- Animancer.AnimancerEvent.Sequence.AddCallbacks(Animancer.StringReference,System.Action)
- Animancer.AnimancerEvent.Sequence.IndexOfRequired(Animancer.StringReference,System.Int32)