GKBehavior.FromGoal(GKGoal, Single) Method

Definition

Factory method to create a GKBehavior with the specified goal.

[Foundation.Export("behaviorWithGoal:weight:")]
public static GameplayKit.GKBehavior FromGoal (GameplayKit.GKGoal goal, float weight);
static member FromGoal : GameplayKit.GKGoal * single -> GameplayKit.GKBehavior

Parameters

goal
GKGoal
weight
Single

Returns

Attributes

Applies to