Summary
Registers the `callback` to be triggered when the
Animancer.AnimancerNode.EffectiveWeight
becomes 0.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- ExitEvent
Syntax
public static void Register(AnimancerNode node, Action callback)
Remarks
The
Animancer.AnimancerNode.EffectiveWeight
is only checked at the end of the animation update so if it
is set to 0 then back to a higher number before the next update, the callback will not be triggered.
Parameters
Name | Type | Description |
---|---|---|
node | AnimancerNode | |
callback | Action |
Return Value
Type | Description |
---|---|
void |