Edytuj

Udostępnij za pośrednictwem


GKRule.FromPredicateRetractingFact(NSPredicate, NSObject, Single) Method

Definition

Factory method to create a GKRule that, when it's predicate is satisfied, decreases the confidence in fact by grade.

[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

Parameters

predicate
NSPredicate
fact
NSObject
grade
Single

Returns

Attributes

Applies to