chore(hero prefab): 更新多个英雄预制体配置

1. 调整mb5预制体的位置参数
2. 移除mb6预制体的默认动画剪辑并设为null
3. 为mb3预制体新增动画组件并更新相关id引用
This commit is contained in:
panw
2026-05-21 14:50:28 +08:00
parent bb47a7a318
commit 8fd479c243
3 changed files with 113 additions and 71 deletions

View File

@@ -25,20 +25,17 @@
"__id__": 11
},
{
"__id__": 21
"__id__": 23
},
{
"__id__": 33
"__id__": 35
},
{
"__id__": 44
"__id__": 46
}
],
"_active": true,
"_components": [
{
"__id__": 59
},
{
"__id__": 61
},
@@ -53,10 +50,13 @@
},
{
"__id__": 69
},
{
"__id__": 71
}
],
"_prefab": {
"__id__": 71
"__id__": 73
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -239,10 +239,13 @@
},
{
"__id__": 18
},
{
"__id__": 20
}
],
"_prefab": {
"__id__": 20
"__id__": 22
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -408,6 +411,48 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "f9iLivg4dHhJksWCjvY9/w"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 21
},
"playOnLoad": false,
"_clips": [
{
"__uuid__": "ba8a70c9-3d3d-4aad-b893-126a39a2ccc6",
"__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "74e64fa3-dd3d-4677-8962-84b22e6ca302",
"__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "60708659-fa1c-45df-bdda-ff3978250703",
"__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "d3f64d75-ab93-4ac6-8f1e-46a158cd2564",
"__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "44f6b032-b834-4ea3-bb9b-f11b087d540e",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b66w8cpJtNKLOQU7AfAxR/"
},
{
"__type__": "cc.PrefabInfo",
"root": {
@@ -428,14 +473,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 22
"__id__": 24
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 21
"__id__": 23
},
"asset": {
"__uuid__": "e1b8a315-ece3-41a2-941e-a66861753f1b",
@@ -443,7 +488,7 @@
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": {
"__id__": 23
"__id__": 25
},
"targetOverrides": null
},
@@ -456,15 +501,9 @@
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 24
},
{
"__id__": 26
},
{
"__id__": 27
},
{
"__id__": 28
},
@@ -474,8 +513,14 @@
{
"__id__": 30
},
{
"__id__": 31
},
{
"__id__": 32
},
{
"__id__": 34
}
],
"removedComponents": []
@@ -483,7 +528,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 25
"__id__": 27
},
"propertyPath": [
"_name"
@@ -499,7 +544,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 25
"__id__": 27
},
"propertyPath": [
"_lpos"
@@ -514,7 +559,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 25
"__id__": 27
},
"propertyPath": [
"_lrot"
@@ -530,7 +575,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 25
"__id__": 27
},
"propertyPath": [
"_euler"
@@ -545,7 +590,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 25
"__id__": 27
},
"propertyPath": [
"_active"
@@ -555,7 +600,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 31
"__id__": 33
},
"propertyPath": [
"_contentSize"
@@ -575,7 +620,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 25
"__id__": 27
},
"propertyPath": [
"_lscale"
@@ -594,14 +639,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 34
"__id__": 36
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 33
"__id__": 35
},
"asset": {
"__uuid__": "50c3d5e4-49f8-4bd7-a15b-cda359a0ae5c",
@@ -609,7 +654,7 @@
},
"fileId": "5fqU0L3/FOhKaco5UkHuWT",
"instance": {
"__id__": 35
"__id__": 37
},
"targetOverrides": null
},
@@ -622,23 +667,23 @@
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 36
},
{
"__id__": 38
},
{
"__id__": 39
},
{
"__id__": 40
},
{
"__id__": 41
},
{
"__id__": 42
},
{
"__id__": 43
},
{
"__id__": 45
}
],
"removedComponents": []
@@ -646,7 +691,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
"__id__": 39
},
"propertyPath": [
"_name"
@@ -662,7 +707,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
"__id__": 39
},
"propertyPath": [
"_lpos"
@@ -677,7 +722,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
"__id__": 39
},
"propertyPath": [
"_lrot"
@@ -693,7 +738,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
"__id__": 39
},
"propertyPath": [
"_euler"
@@ -708,7 +753,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 42
"__id__": 44
},
"propertyPath": [
"_lpos"
@@ -729,7 +774,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
"__id__": 39
},
"propertyPath": [
"_lscale"
@@ -748,14 +793,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 45
"__id__": 47
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 44
"__id__": 46
},
"asset": {
"__uuid__": "02e38f62-860e-4bb9-86d9-a59f073e2881",
@@ -763,7 +808,7 @@
},
"fileId": "54R/aYBglLI4Jn5pm++Jx8",
"instance": {
"__id__": 46
"__id__": 48
},
"targetOverrides": null
},
@@ -776,15 +821,9 @@
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 47
},
{
"__id__": 49
},
{
"__id__": 50
},
{
"__id__": 51
},
@@ -794,11 +833,17 @@
{
"__id__": 53
},
{
"__id__": 54
},
{
"__id__": 55
},
{
"__id__": 57
},
{
"__id__": 59
}
],
"removedComponents": []
@@ -806,7 +851,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 48
"__id__": 50
},
"propertyPath": [
"_name"
@@ -822,7 +867,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 48
"__id__": 50
},
"propertyPath": [
"_lpos"
@@ -837,7 +882,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 48
"__id__": 50
},
"propertyPath": [
"_lrot"
@@ -853,7 +898,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 48
"__id__": 50
},
"propertyPath": [
"_euler"
@@ -868,7 +913,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 48
"__id__": 50
},
"propertyPath": [
"_lscale"
@@ -883,7 +928,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 54
"__id__": 56
},
"propertyPath": [
"_color"
@@ -906,7 +951,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 56
"__id__": 58
},
"propertyPath": [
"_color"
@@ -929,7 +974,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 58
"__id__": 60
},
"propertyPath": [
"_active"
@@ -953,7 +998,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 60
"__id__": 62
},
"_contentSize": {
"__type__": "cc.Size",
@@ -981,7 +1026,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 62
"__id__": 64
},
"anm": {
"__id__": 14
@@ -1002,7 +1047,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 64
"__id__": 66
},
"debugMode": false,
"_id": ""
@@ -1021,7 +1066,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 66
"__id__": 68
},
"enabledContactListener": true,
"bullet": false,
@@ -1055,7 +1100,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 68
"__id__": 70
},
"tag": 0,
"_group": 4,
@@ -1089,7 +1134,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 70
"__id__": 72
},
"playOnLoad": false,
"_clips": [],
@@ -1113,13 +1158,13 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 44
"__id__": 46
},
{
"__id__": 33
"__id__": 35
},
{
"__id__": 21
"__id__": 23
},
{
"__id__": 2

View File

@@ -212,8 +212,8 @@
],
"value": {
"__type__": "cc.Vec3",
"x": 0.7,
"y": 1.7,
"x": 0.26,
"y": 0.7,
"z": 1
}
},

View File

@@ -446,10 +446,7 @@
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "55ecc0d8-4e5d-4d8c-96df-f618f2ee6bc5",
"__expectedType__": "cc.AnimationClip"
},
"_defaultClip": null,
"_id": ""
},
{