GKBehavior.FromGoal(GKGoal, Single) 方法

定义

使用指定的 goal创建 的GKBehavior工厂方法。

[Foundation.Export("behaviorWithGoal:weight:")]
public static GameplayKit.GKBehavior FromGoal (GameplayKit.GKGoal goal, float weight);
static member FromGoal : GameplayKit.GKGoal * single -> GameplayKit.GKBehavior

参数

goal
GKGoal
weight
Single

返回

属性

适用于