Table of Contents

Class ObjectHelper

Namespace
Visual_Scripting

The Object helper provides utility methods to toggle visibility, grabbability, interactability, and combinability of TrainAR objects, to destroy them, to get GameObject references to TrainAR object in the stateflow and many other utility functions.

public class ObjectHelper : Unit
Inheritance
object
ObjectHelper

Fields

helperChoice

public ObjectHelper.TrainARHelperChoices helperChoice

Field Value

ObjectHelper.TrainARHelperChoices

Properties

CombinabilityToggle

Toggle for the combinability that is displayed when this helper is selected.

public ValueInput CombinabilityToggle { get; }

Property Value

ValueInput

Set in node in the editor.

FusionOffsetPosition

The positional offset of the fusion of the objects.

public ValueInput FusionOffsetPosition { get; }

Property Value

ValueInput

Set in node in the editor.

FusionOffsetRotation

The rotational offset of the fusion of the objects.

public ValueInput FusionOffsetRotation { get; }

Property Value

ValueInput

Set in node in the editor.

GrabbabilityToggle

Toggle for the grabbability that is displayed when this helper is selected.

public ValueInput GrabbabilityToggle { get; }

Property Value

ValueInput

Set in node in the editor.

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.

InteractabilityToggle

Toggle for the interactability that is displayed when this helper is selected.

public ValueInput InteractabilityToggle { get; }

Property Value

ValueInput

Set in node in the editor.

InteractableText

The interactable text that is displayed on the interaction button.

public ValueInput InteractableText { get; }

Property Value

ValueInput

Set in node in the editor.

Lerpingdistance

The lerping distance of the object to the smartphone.

public ValueInput Lerpingdistance { get; }

Property Value

ValueInput

Set in node in the editor.

ObjectMaterial

Texture to replace.

public ValueInput ObjectMaterial { get; }

Property Value

ValueInput

Set in node in the editor.

ObjectMesh

Mesh to replace.

public ValueInput ObjectMesh { get; }

Property Value

ValueInput

Set in node in the editor.

ObjectTwo

The second object to fuse together (with the original one).

public ValueInput ObjectTwo { 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.

TrainARObjectName

Name of the Object we want to get the reference for.

public ValueInput TrainARObjectName { get; }

Property Value

ValueInput

Set in node in the editor.

VisibilityToggle

Toggle for the visibility that is displayed when this helper is selected.

public ValueInput VisibilityToggle { get; }

Property Value

ValueInput

Set in node in the editor.

objectReference

The reference to the GameObject in the scene.

public ValueOutput objectReference { get; }

Property Value

ValueOutput

Set in node in the editor.

Methods

Definition()

Defines the Nodes input, output and value ports

protected override void Definition()