編輯

共用方式為


GKGraphNode.AddConnections(GKGraphNode[], Boolean) Method

Definition

Connects this GKGraphNode to each GKGraphNode in nodes. If bidirectional is true, the connection is non-directed.

[Foundation.Export("addConnectionsToNodes:bidirectional:")]
public virtual void AddConnections (GameplayKit.GKGraphNode[] nodes, bool bidirectional);
abstract member AddConnections : GameplayKit.GKGraphNode[] * bool -> unit
override this.AddConnections : GameplayKit.GKGraphNode[] * bool -> unit

Parameters

nodes
GKGraphNode[]
bidirectional
Boolean
Attributes

Applies to