Click or drag to resize

TimedStateTrackerTStateDataStopState Method

Stops the state associated with the token. The token must be one that was returned when the state was started.

Namespace:  Gamelogic.Extensions
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public void StopState(
	IStateToken<TStateData> token
)

Parameters

token
Type: Gamelogic.ExtensionsIStateTokenTStateData
The token of the state to stop.
Exceptions
ExceptionCondition
ArgumentNullExceptiontoken
InvalidOperationException The given token is not from this state tracker or the given token is not active
See Also