GKGoal.GetGoalToInterceptAgent(GKAgent, 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 move to the projected location of the specified target
.
[Foundation.Export("goalToInterceptAgent:maxPredictionTime:")]
public static GameplayKit.GKGoal GetGoalToInterceptAgent (GameplayKit.GKAgent target, double maxPredictionTime);
static member GetGoalToInterceptAgent : GameplayKit.GKAgent * double -> GameplayKit.GKGoal
Parameters
- target
- GKAgent
- maxPredictionTime
- Double
Returns
- Attributes