Summary
[Pro-Only]
Removes the specified `callback` from 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 RemoveCallbacks(StringReference name, Action callback)
Remarks
If a
Animancer.AnimancerEvent.callback
would become null
,
it is instead set to the Animancer.AnimancerEvent.DummyCallback
since they are not allowed to be null
.
Parameters
Name | Type | Description |
---|---|---|
name | StringReference | |
callback | Action |
Return Value
Type | Description |
---|---|
int |
See Also
- Animancer.AnimancerEvent.Sequence.RemoveCallback(Animancer.StringReference,System.Action)
- Animancer.AnimancerEvent.Sequence.IndexOfRequired(Animancer.StringReference,System.Int32)