GKObstacleGraph.LockConnection(GKGraphNode2D, GKGraphNode2D) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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