AnimancerPlayable.StateDictionary.

AnimancerPlayable.

Create(Object, AnimationClip) Method

Summary

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

Syntax

public ClipState Create(Object key, AnimationClip clip)

Remarks

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

Parameters

Name Type Description
key Object
clip AnimationClip

Return Value

Type Description
ClipState