Namespace Static
Classes
CustomAction
Custom actions are actions triggered by events outside of Interacting or combining (e.g. UI quizes) and can send parameters that are then checked against the statemachine.
This class is also what authors can use to trigger actions beyond the scope of TrainAR and can be handled by the statemachine by using the Action Node and the "Custom Action" type.
CustomAction can either be triggered form the instantiated or static context.
StatemachineConnector
The StatemachineConnector connects interaction inputs with the visual scripting flow and outputs with the instruction, error and insight controller through events. It therefore functions as a funnel between the Visual Statemachine and the rest of the logic.
Either the visual statemachien decides whether actions are correct or wrong (default) or the connection can also be commented out and the decisions on wrong/correct actions can be made manually in the RequestStateChange method by using C# programming.
Structs
StateInformation
The StateInformation is a struct created for state change requests. It holds the information of the request to the statemachine.
Enums
InteractionType
The type of interaction that is used in a StateInformation struct through a state change request.