Skip to content

Commit e1bc364

Browse files
committed
新增实用ai编辑器
1 parent 2925ee3 commit e1bc364

File tree

8 files changed

+37
-92
lines changed

8 files changed

+37
-92
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@
2525
[submodule "thirdparty/cocos-nexus"]
2626
path = thirdparty/cocos-nexus
2727
url = https://github.com/esengine/cocos-nexus.git
28+
[submodule "extensions/cocos/cocos-ecs/extensions/utilityai_designer"]
29+
path = extensions/cocos/cocos-ecs/extensions/utilityai_designer
30+
url = https://github.com/esengine/utilityai_designer.git

extensions/cocos/cocos-ecs/assets/scenes/scene.scene

Lines changed: 11 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,12 @@
3333
},
3434
{
3535
"__id__": 63
36-
},
37-
{
38-
"__id__": 65
3936
}
4037
],
4138
"_active": true,
4239
"_components": [],
4340
"_prefab": {
44-
"__id__": 67
41+
"__id__": 65
4542
},
4643
"_lpos": {
4744
"__type__": "cc.Vec3",
@@ -72,7 +69,7 @@
7269
},
7370
"autoReleaseAssets": false,
7471
"_globals": {
75-
"__id__": 68
72+
"__id__": 66
7673
},
7774
"_id": "fcbf2917-6d43-4528-8829-7ee089594879"
7875
},
@@ -438,7 +435,7 @@
438435
"_priority": 1073741824,
439436
"_fov": 45,
440437
"_fovAxis": 0,
441-
"_orthoHeight": 360,
438+
"_orthoHeight": 375.06234413965086,
442439
"_near": 1,
443440
"_far": 2000,
444441
"_color": {
@@ -698,7 +695,6 @@
698695
"__type__": "0a147ZbIWVPurKGALpIXKoR",
699696
"_name": "",
700697
"_objFlags": 0,
701-
"__editorExtras__": {},
702698
"node": {
703699
"__id__": 23
704700
},
@@ -2479,66 +2475,6 @@
24792475
},
24802476
"_id": "03MT/vNyVE0YyCqO+EUB/o"
24812477
},
2482-
{
2483-
"__type__": "cc.Node",
2484-
"_name": "BehaviorTreeTestComponent",
2485-
"_objFlags": 0,
2486-
"__editorExtras__": {},
2487-
"_parent": {
2488-
"__id__": 1
2489-
},
2490-
"_children": [],
2491-
"_active": true,
2492-
"_components": [
2493-
{
2494-
"__id__": 66
2495-
}
2496-
],
2497-
"_prefab": null,
2498-
"_lpos": {
2499-
"__type__": "cc.Vec3",
2500-
"x": 0,
2501-
"y": 0,
2502-
"z": 0
2503-
},
2504-
"_lrot": {
2505-
"__type__": "cc.Quat",
2506-
"x": 0,
2507-
"y": 0,
2508-
"z": 0,
2509-
"w": 1
2510-
},
2511-
"_lscale": {
2512-
"__type__": "cc.Vec3",
2513-
"x": 1,
2514-
"y": 1,
2515-
"z": 1
2516-
},
2517-
"_mobility": 0,
2518-
"_layer": 1073741824,
2519-
"_euler": {
2520-
"__type__": "cc.Vec3",
2521-
"x": 0,
2522-
"y": 0,
2523-
"z": 0
2524-
},
2525-
"_id": "74ac3EPY9HFqohy2oH8I0c"
2526-
},
2527-
{
2528-
"__type__": "d97dcpyvipOzbFV2qUYFHZA",
2529-
"_name": "",
2530-
"_objFlags": 0,
2531-
"__editorExtras__": {},
2532-
"node": {
2533-
"__id__": 65
2534-
},
2535-
"_enabled": true,
2536-
"__prefab": null,
2537-
"moveRadius": 200,
2538-
"moveSpeed": 100,
2539-
"debugMode": true,
2540-
"_id": "e9zhVw8PBP678wT1CEgXiG"
2541-
},
25422478
{
25432479
"__type__": "cc.PrefabInfo",
25442480
"root": null,
@@ -2555,28 +2491,28 @@
25552491
{
25562492
"__type__": "cc.SceneGlobals",
25572493
"ambient": {
2558-
"__id__": 69
2494+
"__id__": 67
25592495
},
25602496
"shadows": {
2561-
"__id__": 70
2497+
"__id__": 68
25622498
},
25632499
"_skybox": {
2564-
"__id__": 71
2500+
"__id__": 69
25652501
},
25662502
"fog": {
2567-
"__id__": 72
2503+
"__id__": 70
25682504
},
25692505
"octree": {
2570-
"__id__": 73
2506+
"__id__": 71
25712507
},
25722508
"skin": {
2573-
"__id__": 74
2509+
"__id__": 72
25742510
},
25752511
"lightProbeInfo": {
2576-
"__id__": 75
2512+
"__id__": 73
25772513
},
25782514
"postSettings": {
2579-
"__id__": 76
2515+
"__id__": 74
25802516
},
25812517
"bakedWithStationaryMainLight": false,
25822518
"bakedWithHighpLightmap": false
Submodule utilityai_designer added at 045748f

extensions/cocos/cocos-ecs/package-lock.json

Lines changed: 10 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/cocos/cocos-ecs/package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22
"name": "cocos-ecs",
33
"uuid": "e17e4eb7-dfe2-4f87-b77d-13c36da216e3",
44
"creator": {
5-
"version": "3.8.6"
5+
"version": "3.8.6",
6+
"registry": {
7+
"remote": {}
8+
},
9+
"dependencies": {
10+
"localization-editor": "1.0.2"
11+
}
612
},
713
"dependencies": {
8-
"@esengine/ai": "^2.0.19",
14+
"@esengine/ai": "^2.0.24",
915
"@esengine/cocos-nexus": "^1.0.1",
1016
"@esengine/ecs-framework": "^2.1.23",
11-
"@esengine/mvvm-ui-framework": "^1.0.3"
17+
"@esengine/mvvm-ui-framework": "^1.0.5"
1218
}
1319
}

thirdparty/BehaviourTree-ai

0 commit comments

Comments
 (0)