Class Insights
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.
Inheritance
System.Object
Insights
Namespace: Visual_Scripting
Assembly: Assembly-CSharp.dll
Syntax
public class Insights : Unit
Properties
| Improve this Doc View SourceInputFlow
The Input port of the Unit that triggers the internal logic.
Declaration
public ControlInput InputFlow { get; }
Property Value
Type | Description |
---|---|
ControlInput | Set in node in the editor. |
InsightAudioClip
The audioclip to be played with the expert insights.
Declaration
public ValueInput InsightAudioClip { get; }
Property Value
Type | Description |
---|---|
ValueInput | Set in node in the editor. |
InsightExpertImage
The image/symbol to be displayed as the "expert" next to the text.
Declaration
public ValueInput InsightExpertImage { get; }
Property Value
Type | Description |
---|---|
ValueInput | Set in node in the editor. |
InsightText
The instruction text that is displayed for the current step.
Declaration
public ValueInput InsightText { get; }
Property Value
Type | Description |
---|---|
ValueInput | Set in node in the editor. |
OutputFlow
The Output port of the Unit that is tirggered after executing the units logic.
Declaration
public ControlOutput OutputFlow { get; }
Property Value
Type | Description |
---|---|
ControlOutput | Set in node in the editor. |
Methods
| Improve this Doc View SourceDefinition()
Defines the Nodes input, output and value ports.
Declaration
protected override void Definition()