AnimancerComponent.

Play(ITransition) Method

Summary

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

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