refactor(skill): 优化技能系统实现和配置
- 删除未使用的ECS元文件和组件 - 修复技能视图和移动逻辑,添加调试日志 - 调整技能预制体配置和动画参数 - 简化技能加载和方向处理逻辑 - 新增技能6002并更新英雄配置 - 统一受击特效路径命名
This commit is contained in:
@@ -32,10 +32,13 @@
|
||||
},
|
||||
{
|
||||
"__id__": 16
|
||||
},
|
||||
{
|
||||
"__id__": 18
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 18
|
||||
"__id__": 20
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -348,12 +351,49 @@
|
||||
"__prefab": {
|
||||
"__id__": 17
|
||||
},
|
||||
"atk_x": 0,
|
||||
"atk_y": 0,
|
||||
"runType": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "35nW0iQNBH2bqkWAr3MVkQ"
|
||||
},
|
||||
{
|
||||
"__type__": "f680dkagx9PmbfqtF463/Ua",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 19
|
||||
},
|
||||
"speed": 600,
|
||||
"controlPointSide": 1,
|
||||
"controlPointOffset": 0.5,
|
||||
"controlPointRandomness": 0.3,
|
||||
"autoRotate": false,
|
||||
"showTrajectory": false,
|
||||
"trajectoryColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 0,
|
||||
"g": 255,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
},
|
||||
"trajectoryWidth": 3,
|
||||
"easing": "linear",
|
||||
"rotationSmoothness": 0.6,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "defJ3noEdMUapDOKtsHbd+"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
|
||||
@@ -32,10 +32,13 @@
|
||||
},
|
||||
{
|
||||
"__id__": 16
|
||||
},
|
||||
{
|
||||
"__id__": 18
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 18
|
||||
"__id__": 20
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -337,7 +340,7 @@
|
||||
"fileId": "c2RDvksalG2acL3tyGCY0t"
|
||||
},
|
||||
{
|
||||
"__type__": "411a8xY2rNF1JLZn+Qgqfqg",
|
||||
"__type__": "57aabs7TE1J5obTAZczc+64",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
@@ -348,13 +351,48 @@
|
||||
"__prefab": {
|
||||
"__id__": 17
|
||||
},
|
||||
"anmEnd": true,
|
||||
"cbox": false,
|
||||
"atk_x": 0,
|
||||
"atk_y": 0,
|
||||
"runType": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "157f8YWOhK6pBg6CBgHHww"
|
||||
"fileId": "d5JH7ab9FFTom8jDJ+NV7X"
|
||||
},
|
||||
{
|
||||
"__type__": "f680dkagx9PmbfqtF463/Ua",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 19
|
||||
},
|
||||
"speed": 600,
|
||||
"controlPointSide": 1,
|
||||
"controlPointOffset": 0.5,
|
||||
"controlPointRandomness": 0.3,
|
||||
"autoRotate": false,
|
||||
"showTrajectory": false,
|
||||
"trajectoryColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 0,
|
||||
"g": 255,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
},
|
||||
"trajectoryWidth": 3,
|
||||
"easing": "linear",
|
||||
"rotationSmoothness": 0.6,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "9dSsPtEr1Pqq67XvXHcebu"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
|
||||
@@ -32,10 +32,13 @@
|
||||
},
|
||||
{
|
||||
"__id__": 16
|
||||
},
|
||||
{
|
||||
"__id__": 18
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 18
|
||||
"__id__": 20
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -337,7 +340,7 @@
|
||||
"fileId": "c2RDvksalG2acL3tyGCY0t"
|
||||
},
|
||||
{
|
||||
"__type__": "411a8xY2rNF1JLZn+Qgqfqg",
|
||||
"__type__": "57aabs7TE1J5obTAZczc+64",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
@@ -348,13 +351,48 @@
|
||||
"__prefab": {
|
||||
"__id__": 17
|
||||
},
|
||||
"anmEnd": true,
|
||||
"cbox": false,
|
||||
"atk_x": 0,
|
||||
"atk_y": 0,
|
||||
"runType": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "157f8YWOhK6pBg6CBgHHww"
|
||||
"fileId": "60LInmZXxDtKu79AshRG9j"
|
||||
},
|
||||
{
|
||||
"__type__": "f680dkagx9PmbfqtF463/Ua",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 19
|
||||
},
|
||||
"speed": 600,
|
||||
"controlPointSide": 1,
|
||||
"controlPointOffset": 0.5,
|
||||
"controlPointRandomness": 0.3,
|
||||
"autoRotate": false,
|
||||
"showTrajectory": false,
|
||||
"trajectoryColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 0,
|
||||
"g": 255,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
},
|
||||
"trajectoryWidth": 3,
|
||||
"easing": "linear",
|
||||
"rotationSmoothness": 0.6,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "65YLwe9t9EXo5kI3HQEGhs"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
|
||||
Reference in New Issue
Block a user