AnimancerPlayable.StateDictionary.

AnimancerPlayable.

GetOrCreate(AnimancerState, AnimationClip) Method

Summary

[Warning] You should not use an Animancer.AnimancerState as a key. The whole point of a key is to identify a state in the first place.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerPlayable.StateDictionary

Syntax

[Obsolete("You should not use an AnimancerState as a key. The whole point of a key is to identify a state in the first place.", true)]
public AnimancerState GetOrCreate(AnimancerState key, AnimationClip clip)

Attributes

Type Description
ObsoleteAttribute

Parameters

Name Type Description
key AnimancerState
clip AnimationClip

Return Value

Type Description
AnimancerState