Edit

Share via


GKObstacleGraph.AddObstacles(GKPolygonObstacle[]) Method

Definition

Adds obstacles to the internal model used for pathfinding.

[Foundation.Export("addObstacles:")]
public virtual void AddObstacles (GameplayKit.GKPolygonObstacle[] obstacles);
abstract member AddObstacles : GameplayKit.GKPolygonObstacle[] -> unit
override this.AddObstacles : GameplayKit.GKPolygonObstacle[] -> unit

Parameters

obstacles
GKPolygonObstacle[]
Attributes

Applies to