共用方式為


GKGraph.ConnectNodeToLowestCostNode(GKGraphNode, Boolean) 方法

定義

將 它新增 nodeNodes ,並將它連接到現有的 T:GameKit.GKNode,而連線的成本最低。

[Foundation.Export("connectNodeToLowestCostNode:bidirectional:")]
public virtual void ConnectNodeToLowestCostNode (GameplayKit.GKGraphNode node, bool bidirectional);
abstract member ConnectNodeToLowestCostNode : GameplayKit.GKGraphNode * bool -> unit
override this.ConnectNodeToLowestCostNode : GameplayKit.GKGraphNode * bool -> unit

參數

bidirectional
Boolean
屬性

適用於