GKBehavior.GetWeight(GKGoal) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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