GKBehavior.FromGoals Metodo

Definizione

Overload

FromGoals(NSDictionary<GKGoal,NSNumber>)

Crea e restituisce un GKBehavior oggetto per un set di obiettivi ponderati.

FromGoals(GKGoal[])

Metodo Factory per creare un GKBehavior oggetto con l'oggetto specificato goals, ognuno con un peso pari a 1,0.

FromGoals(GKGoal[], NSNumber[])

Metodo factory per creare un GKBehavior oggetto con l'oggetto specificato goals e il corrispondente weights.

FromGoals(NSDictionary<GKGoal,NSNumber>)

Crea e restituisce un GKBehavior oggetto per un set di obiettivi ponderati.

[Foundation.Export("behaviorWithWeightedGoals:")]
public static GameplayKit.GKBehavior FromGoals (Foundation.NSDictionary<GameplayKit.GKGoal,Foundation.NSNumber> weightedGoals);
static member FromGoals : Foundation.NSDictionary<GameplayKit.GKGoal, Foundation.NSNumber> -> GameplayKit.GKBehavior

Parametri

weightedGoals
NSDictionary<GKGoal,NSNumber>

Restituisce

Attributi

Si applica a

FromGoals(GKGoal[])

Metodo Factory per creare un GKBehavior oggetto con l'oggetto specificato goals, ognuno con un peso pari a 1,0.

[Foundation.Export("behaviorWithGoals:")]
public static GameplayKit.GKBehavior FromGoals (GameplayKit.GKGoal[] goals);
static member FromGoals : GameplayKit.GKGoal[] -> GameplayKit.GKBehavior

Parametri

goals
GKGoal[]

Restituisce

Attributi

Si applica a

FromGoals(GKGoal[], NSNumber[])

Metodo factory per creare un GKBehavior oggetto con l'oggetto specificato goals e il corrispondente weights.

[Foundation.Export("behaviorWithGoals:andWeights:")]
public static GameplayKit.GKBehavior FromGoals (GameplayKit.GKGoal[] goals, Foundation.NSNumber[] weights);
static member FromGoals : GameplayKit.GKGoal[] * Foundation.NSNumber[] -> GameplayKit.GKBehavior

Parametri

goals
GKGoal[]
weights
NSNumber[]

Restituisce

Attributi

Si applica a