GKGoal.GetGoalToSeekAgent(GKAgent) 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 current position of the specified agent
. (see also GetGoalToInterceptAgent(GKAgent, Double))
[Foundation.Export("goalToSeekAgent:")]
public static GameplayKit.GKGoal GetGoalToSeekAgent (GameplayKit.GKAgent agent);
static member GetGoalToSeekAgent : GameplayKit.GKAgent -> GameplayKit.GKGoal
Parameters
- agent
- GKAgent
Returns
- Attributes