Click or drag to resize

SequenceStateMachineFire Method

Transition from the current state via the specified trigger. The target state is determined by the configuration of the current state. Actions associated with leaving the current state and entering the new one will be invoked.

Namespace:  LynceeTec.API.Sequence
Assembly:  LynceeTec.API.Sequence (in LynceeTec.API.Sequence.dll) Version: 9.0.26418.0 , built 2021-10-22 08:54:13 UTC
Syntax
public override void Fire(
	SequenceStateMachineTrigger trigger
)

Parameters

trigger
Type: LynceeTec.API.SequenceSequenceStateMachineTrigger
Exceptions
ExceptionCondition
InvalidOperationExceptionThe current state does not allow the trigger to be fired
InvalidEnumArgumentExceptionThe trigger cannot be fired without arguments
InvalidTriggerExceptionThrown when the trigger fired is not a valid trigger for the current state of the state machine
See Also