Edytuj

Udostępnij za pośrednictwem


GKBehavior.GetWeight(GKGoal) Method

Definition

Retrieves the weight associated with the goal.

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

Parameters

goal
GKGoal

Returns

Attributes

Applies to