Summary
Creates and returns a new
Animancer.ClipState
to play the `clip`.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- Animancer
State Dictionary
Syntax
public ClipState Create(AnimationClip clip)
Remarks
To create a state on a specific layer, use
animancer.Layers[x].CreateState(clip)
instead.
Animancer.AnimancerGraph.GetKey(UnityEngine.AnimationClip)
is used to determine the Animancer.AnimancerState.Key
.
Parameters
Name | Type | Description |
---|---|---|
clip | AnimationClip |
Return Value
Type | Description |
---|---|
ClipState |