OvrNodeLinker

Subclass of Ovr.OvrNode

Description

This Node is used to link OvrNodes together.

These are chosen via ActionType parameter.

Note: The behavior of the link depends on the interaction between each node. By default, the OvrNode "To Link" will be added to the PreExecutionNodes list of the OvrNode "Where Link". Sometimes it will instead be associated with the main execution of the target node.

The OvrNodeToLink will be linked to the OvrNodeWhereLink.

Attributes

Note: the following attributes are added to the existing ones from the super class OvrNode

Name
Type
Description

OvrNodeToLink

Starting OvrNode, to link.

OvrNodeWhereLink

Ending OvrNode, where link.

Example of OvrNodeLinker connecting two nodes, in this case, the "SetPos" node will be added to the PreExecutionNodes list of the "MoveBall" node.

In this mode, depending on the selected OvrNodeLinkType, an OvrNode will be linked to a list of OvrNodes identified by their Node Id inside a GameObject. Or, alternatively, a list of OvrNodes identified by their Node Id inside a GameObject will be linked to an OvrNode.

Attributes

Note: the following attributes are added to the existing ones from the super class OvrNode

Name
Type
Description

LinkGameObject

GameObject

Target GameObject

LinkType

Direction of linking process

OvrNodeLinks

[ OvrNode, string [ ] ]

Collection of OvrNodes, paired with a list of strings, that correspond to the IDs of the OvrNodes that exist within the GameObject.

Example of OvrNodeLinker connecting a node with a set of nodes inside a GameObject. In this case, a Target OvrNode called "throwNewEvent" will be linked to two nodes searched inside the "Target" GameObject. If the "Target" has in its Components a OvrNode with id "isApplePieReady", then "throwNewEvent" node will be correctly linked with it, same for "CookNewApplePie" node.

This mode is very similar to Link to GameObject, the only exception is that the target GameObject is not an object already present in the scene, but a product of a OvrInstantiate Node, which produces the object required for linking.

Attributes

Note: the following attributes are added to the existing ones from the super class OvrNode

Name
Type
Description

OvrInstantiate

Node responsible for instantiating objects to be linked.

LinkType

Direction of linking process.

OvrNodeLinks

[ OvrNode, string [ ] ]

Collection of OvrNodes, paired with a list of strings, that correspond to the IDs of the OvrNodes that exist within the GameObject.

Example of OvrNodeLinker connecting a GameObject, instantiated with OvrInstantiate, with a set of nodes, in a similar scenario to the previous example.