GKObstacleGraph.LockConnection(GKGraphNode2D, GKGraphNode2D) 方法

定义

防止连接因添加中介 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

参数

startNode
GKGraphNode2D
endNode
GKGraphNode2D
属性

适用于