StateMachine<TStateMachine>.

StateMachine<TState>.

Update(float) Method

Summary

Attempts to enter the Animancer.FSM.StateMachine`1.InputBuffer`1.State if there is one and returns true if successful. Otherwise the Animancer.FSM.StateMachine`1.InputBuffer`1.TimeOut is decreased by `deltaTime` and Animancer.FSM.StateMachine`1.InputBuffer`1.Clear is called if it reaches 0.
Assembly
Animancer.dll
Namespace
Animancer.FSM
Containing Type
StateMachine<TStateMachine>

Syntax

public bool Update(float deltaTime)

Remarks

This method should be called at the end of a frame after any calls to Animancer.FSM.StateMachine`1.InputBuffer`1.Buffer(`0,System.Single).

Parameters

Name Type Description
deltaTime float

Return Value

Type Description
bool