TransitionLibrary.

TryPlay(AnimancerLayer, Object) Method

Summary

Plays the transition registered with the specified `key` if there is one. Otherwise, returns null.

Syntax

public AnimancerState TryPlay(AnimancerLayer layer, Object key)

Parameters

Name Type Description
layer AnimancerLayer
key Object

Return Value

Type Description
AnimancerState