Class ObjectHelper
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.
Inheritance
Namespace: Visual_Scripting
Assembly: Assembly-CSharp.dll
Syntax
public class ObjectHelper : Unit
Fields
| Improve this Doc View SourcehelperChoice
Declaration
public ObjectHelper.TrainARHelperChoices helperChoice
Field Value
Type | Description |
---|---|
ObjectHelper.TrainARHelperChoices |
Properties
| Improve this Doc View SourceCombinabilityToggle
Toggle for the combinability that is displayed when this helper is selected.
Declaration
public ValueInput CombinabilityToggle { get; }
Property Value
Type | Description |
---|---|
ValueInput | Set in node in the editor. |
FusionOffsetPosition
The positional offset of the fusion of the objects.
Declaration
public ValueInput FusionOffsetPosition { get; }
Property Value
Type | Description |
---|---|
ValueInput | Set in node in the editor. |
FusionOffsetRotation
The rotational offset of the fusion of the objects.
Declaration
public ValueInput FusionOffsetRotation { get; }
Property Value
Type | Description |
---|---|
ValueInput | Set in node in the editor. |
GrabbabilityToggle
Toggle for the grabbability that is displayed when this helper is selected.
Declaration
public ValueInput GrabbabilityToggle { get; }
Property Value
Type | Description |
---|---|
ValueInput | Set in node in the editor. |
InputFlow
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. |
InteractabilityToggle
Toggle for the interactability that is displayed when this helper is selected.
Declaration
public ValueInput InteractabilityToggle { get; }
Property Value
Type | Description |
---|---|
ValueInput | Set in node in the editor. |
InteractableText
The interactable text that is displayed on the interaction button.
Declaration
public ValueInput InteractableText { get; }
Property Value
Type | Description |
---|---|
ValueInput | Set in node in the editor. |
Lerpingdistance
The lerping distance of the object to the smartphone.
Declaration
public ValueInput Lerpingdistance { get; }
Property Value
Type | Description |
---|---|
ValueInput | Set in node in the editor. |
ObjectMaterial
Texture to replace.
Declaration
public ValueInput ObjectMaterial { get; }
Property Value
Type | Description |
---|---|
ValueInput | Set in node in the editor. |
ObjectMesh
Mesh to replace.
Declaration
public ValueInput ObjectMesh { get; }
Property Value
Type | Description |
---|---|
ValueInput | Set in node in the editor. |
objectReference
The reference to the GameObject in the scene.
Declaration
public ValueOutput objectReference { get; }
Property Value
Type | Description |
---|---|
ValueOutput | Set in node in the editor. |
ObjectTwo
The second object to fuse together (with the original one).
Declaration
public ValueInput ObjectTwo { 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. |
TrainARObjectName
Name of the Object we want to get the reference for.
Declaration
public ValueInput TrainARObjectName { get; }
Property Value
Type | Description |
---|---|
ValueInput | Set in node in the editor. |
VisibilityToggle
Toggle for the visibility that is displayed when this helper is selected.
Declaration
public ValueInput VisibilityToggle { 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()