共用方式為


GKRuleSystem.AddRule(GKRule) 方法

定義

將 新增 rule 至系統,並將它放在 中 Agenda

[Foundation.Export("addRule:")]
public virtual void AddRule (GameplayKit.GKRule rule);
abstract member AddRule : GameplayKit.GKRule -> unit
override this.AddRule : GameplayKit.GKRule -> unit

參數

rule
GKRule
屬性

適用於