Table of Contents

Class Instructions

Namespace
Visual_Scripting

Implements the "Instruction" functionality of the TrainAR Framework, therefore it updates the isntrutions and progress percentage of the Top panel.

public class Instructions : Unit
Inheritance
object
Instructions

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.

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.

instructionText

The instruction text that is displayed for the current step.

public ValueInput instructionText { get; }

Property Value

ValueInput

Set in node in the editor.

progressPercentage

The percentage that is displayed for the current step.

public ValueInput progressPercentage { get; }

Property Value

ValueInput

Set in node in the editor.

Methods

Definition()

Defines the Nodes input, output and value ports.

protected override void Definition()