Edit

Share via


GKObstacleGraph.LockConnection(GKGraphNode2D, GKGraphNode2D) Method

Definition

Protects the connection from being broken by the addition of an intermediary GKObstacle.

[Foundation.Export("lockConnectionFromNode:toNode:")]
public virtual void LockConnection (GameplayKit.GKGraphNode2D startNode, GameplayKit.GKGraphNode2D endNode);
abstract member LockConnection : GameplayKit.GKGraphNode2D * GameplayKit.GKGraphNode2D -> unit
override this.LockConnection : GameplayKit.GKGraphNode2D * GameplayKit.GKGraphNode2D -> unit

Parameters

startNode
GKGraphNode2D
endNode
GKGraphNode2D
Attributes

Applies to