AnimancerLayer.

GetOrCreateState(ITransition) Method

Summary

Returns the state registered with the Animancer.IHasKey.Key if there is one. Otherwise this method uses Animancer.ITransition.CreateState to create a new one and registers it with that key before returning it.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerLayer

Syntax

public AnimancerState GetOrCreateState(ITransition transition)

Parameters

Name Type Description
transition ITransition

Return Value

Type Description
AnimancerState