拖拽逻辑更新

This commit is contained in:
YHH
2025-06-17 23:59:30 +08:00
parent 577f1e429a
commit 06ea01e928
24 changed files with 2127 additions and 1843 deletions

View File

@@ -0,0 +1,63 @@
{
"nodes": [
{
"id": "node_b0bpuk8ei",
"type": "Sequence",
"name": "序列器",
"icon": "→",
"description": "按顺序执行子节点,任一失败则整体失败",
"x": 207.39999389648438,
"y": 145.59999084472656,
"children": [
"node_pgmfxi7ho"
],
"properties": {
"abortType": {
"name": "中止类型",
"type": "select",
"value": "None",
"description": "决定节点在何种情况下会被中止",
"options": [
"None",
"LowerPriority",
"Self",
"Both"
],
"required": false
}
},
"canHaveChildren": true,
"canHaveParent": true,
"hasError": false
},
{
"id": "node_pgmfxi7ho",
"type": "Inverter",
"name": "反转器",
"icon": "⚡",
"description": "反转子节点的执行结果",
"x": 163.39999389648438,
"y": 436.59999084472656,
"children": [],
"properties": {},
"canHaveChildren": true,
"canHaveParent": true,
"hasError": false,
"parent": "node_b0bpuk8ei"
}
],
"connections": [
{
"id": "node_b0bpuk8ei-node_pgmfxi7ho",
"sourceId": "node_b0bpuk8ei",
"targetId": "node_pgmfxi7ho",
"path": "M 307.3999938964844 265.59999084472656 C 307.3999938964844 351.09999084472656 263.3999938964844 351.09999084472656 263.3999938964844 436.59999084472656",
"active": false
}
],
"metadata": {
"name": "untitled",
"created": "2025-06-17T14:52:33.885Z",
"version": "1.0"
}
}

View File

@@ -0,0 +1,11 @@
{
"ver": "2.0.1",
"importer": "json",
"imported": true,
"uuid": "cb66452d-5cad-46a9-96f9-b62831e0edc3",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,14 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "da4522ce-bedb-42d5-8cba-63dcb4641265",
"files": [],
"subMetas": {},
"userData": {
"isBundle": true,
"bundleConfigID": "default",
"bundleName": "resources",
"priority": 8
}
}