GKGoal.GetGoalToFleeAgent(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 flee from the specified agent
.
[Foundation.Export("goalToFleeAgent:")]
public static GameplayKit.GKGoal GetGoalToFleeAgent (GameplayKit.GKAgent agent);
static member GetGoalToFleeAgent : GameplayKit.GKAgent -> GameplayKit.GKGoal
Parameters
- agent
- GKAgent
Returns
- Attributes