Compartilhar via


GKObstacleGraph.ConnectNodeUsingObstacles Método

Definição

Sobrecargas

ConnectNodeUsingObstacles(GKGraphNode2D)

Adiciona o nó ao , conectando-o GKGraphaos vizinhos mais próximos, evitando Obstacles.

ConnectNodeUsingObstacles(GKGraphNode2D, GKPolygonObstacle[])

Adiciona o nó ao , conectando-o GKGraphaos seus vizinhos mais próximos, evitando Obstacles exceto aqueles em obstaclesToIgnore.

ConnectNodeUsingObstacles(GKGraphNode2D)

Adiciona o nó ao , conectando-o GKGraphaos vizinhos mais próximos, evitando Obstacles.

[Foundation.Export("connectNodeUsingObstacles:")]
public virtual void ConnectNodeUsingObstacles (GameplayKit.GKGraphNode2D node);
abstract member ConnectNodeUsingObstacles : GameplayKit.GKGraphNode2D -> unit
override this.ConnectNodeUsingObstacles : GameplayKit.GKGraphNode2D -> unit

Parâmetros

Atributos

Aplica-se a

ConnectNodeUsingObstacles(GKGraphNode2D, GKPolygonObstacle[])

Adiciona o nó ao , conectando-o GKGraphaos seus vizinhos mais próximos, evitando Obstacles exceto aqueles em obstaclesToIgnore.

[Foundation.Export("connectNodeUsingObstacles:ignoringObstacles:")]
public virtual void ConnectNodeUsingObstacles (GameplayKit.GKGraphNode2D node, GameplayKit.GKPolygonObstacle[] obstaclesToIgnore);
abstract member ConnectNodeUsingObstacles : GameplayKit.GKGraphNode2D * GameplayKit.GKPolygonObstacle[] -> unit
override this.ConnectNodeUsingObstacles : GameplayKit.GKGraphNode2D * GameplayKit.GKPolygonObstacle[] -> unit

Parâmetros

obstaclesToIgnore
GKPolygonObstacle[]
Atributos

Aplica-se a