StateExtensions.

GetPreviousState<TState>(TState) Method

Summary

[Animancer Extension] Returns the Animancer.FSM.StateChange`1.PreviousState.
Assembly
Animancer.dll
Namespace
Animancer.FSM
Containing Type
StateExtensions

Syntax

public static TState GetPreviousState<TState>(this TState state) where TState : class, IState

Type Parameters

Name Description
TState

Parameters

Name Type Description
state TState

Return Value

Type Description
TState