GKGraph.ConnectNodeToLowestCostNode(GKGraphNode, Boolean) 方法

定义

将 添加到 nodeNodes ,并将其连接到连接成本最低的现有 T:GameplayKit.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
属性

适用于