Summary
Gets the state registered with the
Animancer.IHasKey.Key,
stops and rewinds it to the start, then returns it.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerGraph
Syntax
public AnimancerState Stop(IHasKey hasKey)
Remarks
Note that playing something new will automatically stop the old animation.
Parameters
| Name | Type | Description |
|---|---|---|
| hasKey | IHasKey |
Return Value
| Type | Description |
|---|---|
| AnimancerState |