다음을 통해 공유


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
특성

적용 대상