Share via


GKRule.FromPredicate メソッド

定義

指定した述語とアクションを使用して を GKRule 作成するファクトリ メソッド。

[Foundation.Export("ruleWithBlockPredicate:action:")]
public static GameplayKit.GKRule FromPredicate (Func<GameplayKit.GKRuleSystem,bool> predicate, Action<GameplayKit.GKRuleSystem> action);
static member FromPredicate : Func<GameplayKit.GKRuleSystem, bool> * Action<GameplayKit.GKRuleSystem> -> GameplayKit.GKRule

パラメーター

戻り値

属性

適用対象