Class Insights
- Namespace
- Visual_Scripting
Implements the "Insights" functionality of the TrainAR Framework, therefore it triggers the expert input modality to show additional insights and tips and optionally plays audio clips.
public class Insights : Unit
- Inheritance
-
objectInsights
Properties
InputFlow
The Input port of the Unit that triggers the internal logic.
public ControlInput InputFlow { get; }
Property Value
- ControlInput
Set in node in the editor.
InsightAudioClip
The audioclip to be played with the expert insights.
public ValueInput InsightAudioClip { get; }
Property Value
- ValueInput
Set in node in the editor.
InsightExpertImage
The image/symbol to be displayed as the "expert" next to the text.
public ValueInput InsightExpertImage { get; }
Property Value
- ValueInput
Set in node in the editor.
InsightText
The instruction text that is displayed for the current step.
public ValueInput InsightText { get; }
Property Value
- ValueInput
Set in node in the editor.
OutputFlow
The Output port of the Unit that is tirggered after executing the units logic.
public ControlOutput OutputFlow { get; }
Property Value
- ControlOutput
Set in node in the editor.
Methods
Definition()
Defines the Nodes input, output and value ports.
protected override void Definition()