Summary
[Pro-Only] Removes the specified `callback` from the event at the specified `index`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerEvent
.Sequence
Syntax
public void RemoveCallback(int index, Action callback)
Remarks
If the
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 |
---|---|---|
index | int | |
callback | Action |
Return Value
Type | Description |
---|---|
void |