Share via


GKBehavior.SetWeight(Single, GKGoal) Method

Definition

[Foundation.Export("setWeight:forGoal:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetWeight(float weight, GameplayKit.GKGoal goal);
[<Foundation.Export("setWeight:forGoal:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetWeight : single * GameplayKit.GKGoal -> unit
override this.SetWeight : single * GameplayKit.GKGoal -> unit

Parameters

weight
Single
goal
GKGoal
Attributes

Applies to