Class Instructions
Implements the "Instruction" functionality of the TrainAR Framework, therefore it updates the isntrutions and progress percentage of the Top panel.
Inheritance
System.Object
Instructions
Namespace: Visual_Scripting
Assembly: Assembly-CSharp.dll
Syntax
public class Instructions : 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. |
instructionText
The instruction text that is displayed for the current step.
Declaration
public ValueInput instructionText { 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. |
progressPercentage
The percentage that is displayed for the current step.
Declaration
public ValueInput progressPercentage { get; }
Property Value
Type | Description |
---|---|
ValueInput | 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()