GKBehavior.GetWeight(GKGoal) Method

Definition

[Foundation.Export("weightForGoal:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual float GetWeight(GameplayKit.GKGoal goal);
[<Foundation.Export("weightForGoal:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetWeight : GameplayKit.GKGoal -> single
override this.GetWeight : GameplayKit.GKGoal -> single

Parameters

goal
GKGoal

Returns

Attributes

Applies to