GKGoal.GetGoalToAvoidObstacles(GKObstacle[], Double) 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.
Factory method to create a GKGoal that attemps to avoid collisions with the specified obstacles
.
[Foundation.Export("goalToAvoidObstacles:maxPredictionTime:")]
public static GameplayKit.GKGoal GetGoalToAvoidObstacles (GameplayKit.GKObstacle[] obstacles, double maxPredictionTime);
static member GetGoalToAvoidObstacles : GameplayKit.GKObstacle[] * double -> GameplayKit.GKGoal
Parameters
- obstacles
- GKObstacle[]
- maxPredictionTime
- Double
Returns
- Attributes