Partager via


GKObstacleGraph.LockConnection(GKGraphNode2D, GKGraphNode2D) Méthode

Définition

Protège la connexion contre la rupture par l’ajout d’un intermédiaire 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

Paramètres

startNode
GKGraphNode2D
endNode
GKGraphNode2D
Attributs

S’applique à