Summary
Returns an awaitable that will complete when this state passes its
Animancer.AnimancerState.NormalizedEndTime or Animancer.AnimancerNode.IsInterrupted.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerState
Syntax
public AnimancerState.Awaiter Await(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 |
|---|---|---|
| cancel | CancellationToken |
Return Value
| Type | Description |
|---|---|
| AnimancerState |