Share via


GKCompositeBehavior.SetWeight(Single, GKBehavior) Method

Definition

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

Parameters

weight
Single
behavior
GKBehavior
Attributes

Applies to