Freigeben über


GKRule.FromPredicateRetractingFact(NSPredicate, NSObject, Single) Methode

Definition

Factorymethode, um eine GKRule zu erstellen, die, wenn sie predicate erfüllt ist, das Vertrauen in fact um gradeverringert.

[Foundation.Export("ruleWithPredicate:retractingFact:grade:")]
public static GameplayKit.GKRule FromPredicateRetractingFact (Foundation.NSPredicate predicate, Foundation.NSObject fact, float grade);
static member FromPredicateRetractingFact : Foundation.NSPredicate * Foundation.NSObject * single -> GameplayKit.GKRule

Parameter

predicate
NSPredicate
fact
NSObject
grade
Single

Gibt zurück

Attribute

Gilt für: