AnimancerPlayable.StateDictionary.

AnimancerPlayable.

Create(AnimationClip) Method

Summary

Creates and returns a new Animancer.ClipState to play the `clip`.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerPlayable.StateDictionary

Syntax

public ClipState Create(AnimationClip clip)

Remarks

To create a state on a specific layer, use animancer.Layers[x].CreateState(clip) instead.

Animancer.AnimancerPlayable.GetKey(UnityEngine.AnimationClip) is used to determine the Animancer.AnimancerState.Key.

Parameters

Name Type Description
clip AnimationClip

Return Value

Type Description
ClipState