Summary
Returns the current state on the specified `layer`,
or the next state if it is currently in a transition.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- ControllerState
Syntax
public AnimatorStateInfo GetStateInfo(int layerIndex)
Parameters
| Name | Type | Description |
|---|---|---|
| layerIndex | int |
Return Value
| Type | Description |
|---|---|
| AnimatorStateInfo |