Summary
Returns a state registered with the `key` and attached to this layer or null if none exist.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerLayer
Syntax
public AnimancerState GetState(ref Object key)
Remarks
If a state is registered with the `key` but on a different layer, this method will use that state as the
key and try to look up another state with it. This allows it to associate multiple states with the same
original key.
Parameters
Name | Type | Description |
---|---|---|
key | Object |
Return Value
Type | Description |
---|---|
AnimancerState |