Summary
Returns an awaitable that will complete when the `state` passes its
Animancer.AnimancerState.NormalizedEndTime or Animancer.AnimancerNode.IsInterrupted.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerState
.Awaiter
Syntax
public static AnimancerState.Awaiter End(AnimancerState state, CancellationToken cancel = null)
Remarks
If you aren't providing a
System.Threading.CancellationToken,
you can directly use await state; or yield return state; instead.
Parameters
| Name | Type | Description |
|---|---|---|
| state | AnimancerState | |
| cancel | CancellationToken |
Return Value
| Type | Description |
|---|---|
| AnimancerState |