Edytuj

Udostępnij za pośrednictwem


GKGridGraph.ConnectNodeToAdjacentNodes(GKGridGraphNode) Method

Definition

Adds node to the GKGraph and connects it to its nearest neighbors.

[Foundation.Export("connectNodeToAdjacentNodes:")]
public virtual void ConnectNodeToAdjacentNodes (GameplayKit.GKGridGraphNode node);
abstract member ConnectNodeToAdjacentNodes : GameplayKit.GKGridGraphNode -> unit
override this.ConnectNodeToAdjacentNodes : GameplayKit.GKGridGraphNode -> unit

Parameters

Attributes

Remarks

This method does not alter the grid. It is intended for placing game GKEntity objects on the grid.

Applies to