新增实用ai编辑器

This commit is contained in:
YHH
2025-07-13 22:53:30 +08:00
parent 2925ee380d
commit e1bc364525
8 changed files with 37 additions and 92 deletions

3
.gitmodules vendored
View File

@@ -25,3 +25,6 @@
[submodule "thirdparty/cocos-nexus"] [submodule "thirdparty/cocos-nexus"]
path = thirdparty/cocos-nexus path = thirdparty/cocos-nexus
url = https://github.com/esengine/cocos-nexus.git url = https://github.com/esengine/cocos-nexus.git
[submodule "extensions/cocos/cocos-ecs/extensions/utilityai_designer"]
path = extensions/cocos/cocos-ecs/extensions/utilityai_designer
url = https://github.com/esengine/utilityai_designer.git

View File

@@ -33,15 +33,12 @@
}, },
{ {
"__id__": 63 "__id__": 63
},
{
"__id__": 65
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 67 "__id__": 65
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -72,7 +69,7 @@
}, },
"autoReleaseAssets": false, "autoReleaseAssets": false,
"_globals": { "_globals": {
"__id__": 68 "__id__": 66
}, },
"_id": "fcbf2917-6d43-4528-8829-7ee089594879" "_id": "fcbf2917-6d43-4528-8829-7ee089594879"
}, },
@@ -438,7 +435,7 @@
"_priority": 1073741824, "_priority": 1073741824,
"_fov": 45, "_fov": 45,
"_fovAxis": 0, "_fovAxis": 0,
"_orthoHeight": 360, "_orthoHeight": 375.06234413965086,
"_near": 1, "_near": 1,
"_far": 2000, "_far": 2000,
"_color": { "_color": {
@@ -698,7 +695,6 @@
"__type__": "0a147ZbIWVPurKGALpIXKoR", "__type__": "0a147ZbIWVPurKGALpIXKoR",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {},
"node": { "node": {
"__id__": 23 "__id__": 23
}, },
@@ -2479,66 +2475,6 @@
}, },
"_id": "03MT/vNyVE0YyCqO+EUB/o" "_id": "03MT/vNyVE0YyCqO+EUB/o"
}, },
{
"__type__": "cc.Node",
"_name": "BehaviorTreeTestComponent",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 66
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "74ac3EPY9HFqohy2oH8I0c"
},
{
"__type__": "d97dcpyvipOzbFV2qUYFHZA",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 65
},
"_enabled": true,
"__prefab": null,
"moveRadius": 200,
"moveSpeed": 100,
"debugMode": true,
"_id": "e9zhVw8PBP678wT1CEgXiG"
},
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": null, "root": null,
@@ -2555,28 +2491,28 @@
{ {
"__type__": "cc.SceneGlobals", "__type__": "cc.SceneGlobals",
"ambient": { "ambient": {
"__id__": 69 "__id__": 67
}, },
"shadows": { "shadows": {
"__id__": 70 "__id__": 68
}, },
"_skybox": { "_skybox": {
"__id__": 71 "__id__": 69
}, },
"fog": { "fog": {
"__id__": 72 "__id__": 70
}, },
"octree": { "octree": {
"__id__": 73 "__id__": 71
}, },
"skin": { "skin": {
"__id__": 74 "__id__": 72
}, },
"lightProbeInfo": { "lightProbeInfo": {
"__id__": 75 "__id__": 73
}, },
"postSettings": { "postSettings": {
"__id__": 76 "__id__": 74
}, },
"bakedWithStationaryMainLight": false, "bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false "bakedWithHighpLightmap": false

View File

@@ -6,10 +6,10 @@
"": { "": {
"name": "cocos-ecs", "name": "cocos-ecs",
"dependencies": { "dependencies": {
"@esengine/ai": "^2.0.19", "@esengine/ai": "^2.0.24",
"@esengine/cocos-nexus": "^1.0.1", "@esengine/cocos-nexus": "^1.0.1",
"@esengine/ecs-framework": "^2.1.23", "@esengine/ecs-framework": "^2.1.23",
"@esengine/mvvm-ui-framework": "^1.0.3" "@esengine/mvvm-ui-framework": "^1.0.5"
} }
}, },
"../../../thirdparty/mvvm-ui-framework": { "../../../thirdparty/mvvm-ui-framework": {
@@ -38,12 +38,10 @@
"peer": true "peer": true
}, },
"node_modules/@esengine/ai": { "node_modules/@esengine/ai": {
"version": "2.0.19", "version": "2.0.24",
"resolved": "https://registry.npmjs.org/@esengine/ai/-/ai-2.0.19.tgz", "resolved": "https://registry.npmjs.org/@esengine/ai/-/ai-2.0.24.tgz",
"integrity": "sha512-vK+5jtOYv4LeLX9IbhfC04qzaXfZOYdGyXsZ52Bxiv3KCgzMnP2cKQfMXLvkhgkMKQ8m16PaiHyaDFoo8BKk4w==", "integrity": "sha512-Xwy3yTh/UCVtTvtLc8GtHfDWu+opA3hii1MUFoyMvOszNrnWJ92Qs7bAFSmVqCKHR7joBS2SNTP6Htvlo99SbA==",
"dependencies": { "license": "MIT",
"@esengine/ecs-framework": "^2.1.20"
},
"engines": { "engines": {
"node": ">=16.0.0" "node": ">=16.0.0"
} }
@@ -69,9 +67,10 @@
} }
}, },
"node_modules/@esengine/mvvm-ui-framework": { "node_modules/@esengine/mvvm-ui-framework": {
"version": "1.0.3", "version": "1.0.6",
"resolved": "https://registry.npmjs.org/@esengine/mvvm-ui-framework/-/mvvm-ui-framework-1.0.3.tgz", "resolved": "https://registry.npmjs.org/@esengine/mvvm-ui-framework/-/mvvm-ui-framework-1.0.6.tgz",
"integrity": "sha512-6WSY5PwE5du9H6xXfOmqPdscE4Lyf4lCwoEHQVGEJW3Dqhhb5O0ZuShF1XGpfJY/fONoLPTdL6Jln4japm432w==", "integrity": "sha512-YaULGN15k3UORaMY+nkEJv/6Ham3gMtoFBxLZkVF6jNKpqwTDFKiv/Lsd5JyC8KeJas63GFL4Z3c8Ii0oygKHA==",
"license": "MIT",
"dependencies": { "dependencies": {
"reflect-metadata": "^0.1.13" "reflect-metadata": "^0.1.13"
}, },

View File

@@ -2,12 +2,18 @@
"name": "cocos-ecs", "name": "cocos-ecs",
"uuid": "e17e4eb7-dfe2-4f87-b77d-13c36da216e3", "uuid": "e17e4eb7-dfe2-4f87-b77d-13c36da216e3",
"creator": { "creator": {
"version": "3.8.6" "version": "3.8.6",
"registry": {
"remote": {}
},
"dependencies": {
"localization-editor": "1.0.2"
}
}, },
"dependencies": { "dependencies": {
"@esengine/ai": "^2.0.19", "@esengine/ai": "^2.0.24",
"@esengine/cocos-nexus": "^1.0.1", "@esengine/cocos-nexus": "^1.0.1",
"@esengine/ecs-framework": "^2.1.23", "@esengine/ecs-framework": "^2.1.23",
"@esengine/mvvm-ui-framework": "^1.0.3" "@esengine/mvvm-ui-framework": "^1.0.5"
} }
} }