Connects this node to all nodes in the specified list.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
The list of nodes to which to form connections.
trueto create a connection in both directions;
falseto create only connections from this node to each of the specified nodes.
In GameplayKit, the connections between nodes in a graph are directional. For example, if the
connected list of Node A contains Node B, then a traveler on the graph can move directly from Node A to Node B. For the reverse to also be true, the
connected list of Node B must contain Node A. Use the
bidirectional parameter to choose whether to automatically create connections in both directions or create only one-way connections.