共用方式為


GKGoal.GetGoalToStayOnPath(GKPath, Double) 方法

定義

Factory 方法,用來建立 GKGoal 該範本,以維護沿著指定 path 之 某處的位置。

[Foundation.Export("goalToStayOnPath:maxPredictionTime:")]
public static GameplayKit.GKGoal GetGoalToStayOnPath (GameplayKit.GKPath path, double maxPredictionTime);
static member GetGoalToStayOnPath : GameplayKit.GKPath * double -> GameplayKit.GKGoal

參數

path
GKPath
maxPredictionTime
Double

傳回

屬性

適用於