跳转到内容

reparentBtNode

此内容尚不支持你的语言。

reparentBtNode(def, id, newParentId): BtDefinition

Defined in: ai/bt/btGraph.ts:204

Reparent a subtree under a new parent (canvas drag-to-connect) — moves it out of the orphan pool or from its current parent. No-ops on a cycle (new parent is a descendant), a full parent, or the run root itself.

BtDefinition

string

string

BtDefinition