GKBehavior.FromGoal(GKGoal, Single) Method

Definition

[Foundation.Export("behaviorWithGoal:weight:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static GameplayKit.GKBehavior FromGoal(GameplayKit.GKGoal goal, float weight);
[<Foundation.Export("behaviorWithGoal:weight:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromGoal : GameplayKit.GKGoal * single -> GameplayKit.GKBehavior

Parameters

goal
GKGoal
weight
Single

Returns

Attributes

Applies to