Summary
[Pro-Only] Adds the specified `callback` to the event with the specified `name`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerEvent
.Sequence
Syntax
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void AddCallback(StringReference name, Action callback)
Attributes
| Type | Description |
|---|---|
| MethodImplAttribute |
Parameters
| Name | Type | Description |
|---|---|---|
| name | StringReference | |
| callback | Action |
Return Value
| Type | Description |
|---|---|
| void |
See Also
- Animancer.AnimancerEvent.Sequence.AddCallbacks(Animancer.StringReference,System.Action)
- Animancer.AnimancerEvent.Sequence.IndexOfRequired(Animancer.StringReference,System.Int32)