| StateTrackerTStateDataStartState Method |
Starts a state, and returns a token that can be used to stop it again.
Namespace:
Gamelogic.Extensions
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public IStateToken<TStateData> StartState(
TStateData stateData
)
Parameters
- stateData
- Type: TStateData
Custom state data. This is useful in cases
where all the active states needs to be examined. For example, this data
can be used to identify states externally.
Return Value
Type:
IStateTokenTStateDataA token that wraps the custom state data and can be used to stop
the state started with this method.
See Also