GKGoal.GetGoalToFleeAgent(GKAgent) Method

Definition

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

Applies to