Editar

Compartir a través de


GKRule.FromPredicateAssertingFact(NSPredicate, NSObject, Single) Method

Definition

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

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

Parameters

predicate
NSPredicate
fact
NSObject
grade
Single

Returns

Attributes

Applies to