use 'readTree' to parse data file
This commit is contained in:
1 parent
7478e1fa0f
commit
4d1d09fe80
12 files changed
+60
-30
No files matched your search
@@ -28,6 +28,7 @@
|
||||
"name": "Clear",
|
||||
"type": "Action",
|
||||
"desc": "清除变量",
|
||||
"children": 0,
|
||||
"output": [
|
||||
"清除的变量名"
|
||||
]
|
||||
|
||||
@@ -61,6 +61,19 @@
|
||||
"input": [
|
||||
"target"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"name": "Clear",
|
||||
"output": [
|
||||
"test"
|
||||
],
|
||||
"children": [
|
||||
{
|
||||
"id": 9,
|
||||
"name": "Idle"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -4,18 +4,15 @@
|
||||
"id": 1,
|
||||
"name": "Sequence",
|
||||
"desc": "怪物测试AI",
|
||||
"args": {},
|
||||
"children": [
|
||||
{
|
||||
"id": 2,
|
||||
"name": "Sequence",
|
||||
"desc": "攻击",
|
||||
"args": {},
|
||||
"children": [
|
||||
{
|
||||
"id": 3,
|
||||
"name": "GetHp",
|
||||
"args": {},
|
||||
"output": [
|
||||
"hp"
|
||||
],
|
||||
@@ -60,10 +57,14 @@
|
||||
"name": "Log",
|
||||
"desc": "逃跑",
|
||||
"args": {
|
||||
"str": "Run!"
|
||||
"message": "Run!"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"desc": "怪物测试AI"
|
||||
"desc": "怪物测试AI",
|
||||
"firstid": 1,
|
||||
"group": [],
|
||||
"import": [],
|
||||
"declvar": []
|
||||
}
|
||||
@@ -9,7 +9,7 @@
|
||||
"id": 2,
|
||||
"name": "Log",
|
||||
"args": {
|
||||
"str": "hello"
|
||||
"message": "hello"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -21,5 +21,9 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"desc": "子树1"
|
||||
"desc": "子树1",
|
||||
"firstid": 1,
|
||||
"group": [],
|
||||
"import": [],
|
||||
"declvar": []
|
||||
}
|
||||
Reference in new issue
Block a user