Freigeben über


GKBehavior.GetWeight(GKGoal) Methode

Definition

Ruft die Gewichtung ab, die dem goalzugeordnet ist.

[Foundation.Export("weightForGoal:")]
public virtual float GetWeight (GameplayKit.GKGoal goal);
abstract member GetWeight : GameplayKit.GKGoal -> single
override this.GetWeight : GameplayKit.GKGoal -> single

Parameter

goal
GKGoal

Gibt zurück

Attribute

Gilt für: