StateExtensions.

GetNextState<TState>(TState) Method

Summary

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

Syntax

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

Type Parameters

Name Description
TState

Parameters

Name Type Description
state TState

Return Value

Type Description
TState