AnimancerLayer.

Play(ITransition) Method

Summary

Creates a state for the `transition` if it didn't already exist, then calls Animancer.AnimancerLayer.Play(Animancer.AnimancerState) or Animancer.AnimancerLayer.Play(Animancer.AnimancerState,System.Single,Animancer.FadeMode) depending on the Animancer.ITransition.FadeDuration.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerLayer

Syntax

public AnimancerState Play(ITransition transition)

Remarks

This method is safe to call repeatedly without checking whether the `transition` was already playing.

Parameters

Name Type Description
transition ITransition

Return Value

Type Description
AnimancerState