IStateMachine.

TryResetState(Object) Method

Summary

Attempts to enter the specified `state` and returns true if successful.
Assembly
Animancer.dll
Namespace
Animancer.FSM
Containing Type
IStateMachine

Syntax

bool TryResetState(Object state)

Remarks

This method does not check if the `state` is already the Animancer.FSM.IStateMachine.CurrentState. To do so, use Animancer.FSM.IStateMachine.TrySetState(System.Object) instead.

Parameters

Name Type Description
state Object

Return Value

Type Description
bool