角色buff 动画控制交由 buffcomp

This commit is contained in:
2024-12-30 16:59:05 +08:00
parent ed12d4d428
commit a66e61c313
20 changed files with 606 additions and 400 deletions

View File

@@ -25,26 +25,26 @@
"__id__": 12
},
{
"__id__": 28
"__id__": 22
},
{
"__id__": 38
"__id__": 32
},
{
"__id__": 54
"__id__": 48
}
],
"_active": true,
"_components": [
{
"__id__": 64
"__id__": 58
},
{
"__id__": 66
"__id__": 60
}
],
"_prefab": {
"__id__": 68
"__id__": 62
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -190,8 +190,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 35.369140625,
"height": 39.8
"width": 37.369140625,
"height": 41.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -221,9 +221,9 @@
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 121,
"g": 121,
"b": 121,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "10",
@@ -239,19 +239,19 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_cacheMode": 1,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 1,
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
@@ -337,19 +337,16 @@
"_children": [
{
"__id__": 13
},
{
"__id__": 19
}
],
"_active": false,
"_components": [
{
"__id__": 25
"__id__": 19
}
],
"_prefab": {
"__id__": 27
"__id__": 21
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -444,8 +441,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 26.24609375,
"height": 54.4
"width": 52.4921875,
"height": 58.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -475,15 +472,15 @@
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 22,
"g": 231,
"b": 39,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "10",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 20,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 40,
@@ -500,12 +497,12 @@
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 255,
"r": 82,
"g": 255,
"b": 255,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_outlineWidth": 4,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
@@ -539,165 +536,6 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "+",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 20
},
{
"__id__": 22
}
],
"_prefab": {
"__id__": 24
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -18.702999999999975,
"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": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 19
},
"_enabled": true,
"__prefab": {
"__id__": 21
},
"_contentSize": {
"__type__": "cc.Size",
"width": 15.6796875,
"height": 54.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "87FEhNM7RMVqLclVqADNPz"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 19
},
"_enabled": true,
"__prefab": {
"__id__": 23
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 13,
"g": 243,
"b": 59,
"a": 255
},
"_string": "+",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 20,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "edXhx12K5KqY9dBp17uu3z"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "bdzwPhf5tDxb3Sb9sEuEPx",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -708,7 +546,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 26
"__id__": 20
},
"_contentSize": {
"__type__": "cc.Size",
@@ -749,17 +587,17 @@
},
"_children": [
{
"__id__": 29
"__id__": 23
}
],
"_active": false,
"_components": [
{
"__id__": 35
"__id__": 29
}
],
"_prefab": {
"__id__": 37
"__id__": 31
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -796,20 +634,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 28
"__id__": 22
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
"__id__": 24
},
{
"__id__": 32
"__id__": 26
}
],
"_prefab": {
"__id__": 34
"__id__": 28
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -846,11 +684,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 29
"__id__": 23
},
"_enabled": true,
"__prefab": {
"__id__": 31
"__id__": 25
},
"_contentSize": {
"__type__": "cc.Size",
@@ -874,11 +712,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 29
"__id__": 23
},
"_enabled": true,
"__prefab": {
"__id__": 33
"__id__": 27
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -955,11 +793,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 36
"__id__": 30
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1000,20 +838,20 @@
},
"_children": [
{
"__id__": 39
"__id__": 33
},
{
"__id__": 45
"__id__": 39
}
],
"_active": false,
"_components": [
{
"__id__": 51
"__id__": 45
}
],
"_prefab": {
"__id__": 53
"__id__": 47
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1050,20 +888,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 38
"__id__": 32
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 40
"__id__": 34
},
{
"__id__": 42
"__id__": 36
}
],
"_prefab": {
"__id__": 44
"__id__": 38
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1100,11 +938,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 39
"__id__": 33
},
"_enabled": true,
"__prefab": {
"__id__": 41
"__id__": 35
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1128,11 +966,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 39
"__id__": 33
},
"_enabled": true,
"__prefab": {
"__id__": 43
"__id__": 37
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -1140,8 +978,8 @@
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 0,
"b": 0,
"g": 255,
"b": 255,
"a": 255
},
"_string": "-10",
@@ -1157,7 +995,7 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
@@ -1165,11 +1003,11 @@
"_outlineColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_outlineWidth": 5,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
@@ -1209,20 +1047,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 38
"__id__": 32
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 46
"__id__": 40
},
{
"__id__": 48
"__id__": 42
}
],
"_prefab": {
"__id__": 50
"__id__": 44
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1259,11 +1097,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 45
"__id__": 39
},
"_enabled": true,
"__prefab": {
"__id__": 47
"__id__": 41
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1287,11 +1125,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 45
"__id__": 39
},
"_enabled": true,
"__prefab": {
"__id__": 49
"__id__": 43
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -1368,11 +1206,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 38
"__id__": 32
},
"_enabled": true,
"__prefab": {
"__id__": 52
"__id__": 46
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1399,6 +1237,8 @@
"__id__": 0
},
"fileId": "20vKhpGcBEoKbUIhLvPmd1",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -1411,17 +1251,17 @@
},
"_children": [
{
"__id__": 55
"__id__": 49
}
],
"_active": false,
"_components": [
{
"__id__": 61
"__id__": 55
}
],
"_prefab": {
"__id__": 63
"__id__": 57
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1458,20 +1298,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 54
"__id__": 48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 56
"__id__": 50
},
{
"__id__": 58
"__id__": 52
}
],
"_prefab": {
"__id__": 60
"__id__": 54
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1508,11 +1348,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 55
"__id__": 49
},
"_enabled": true,
"__prefab": {
"__id__": 57
"__id__": 51
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1536,11 +1376,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 55
"__id__": 49
},
"_enabled": true,
"__prefab": {
"__id__": 59
"__id__": 53
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -1617,11 +1457,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 54
"__id__": 48
},
"_enabled": true,
"__prefab": {
"__id__": 62
"__id__": 56
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1662,7 +1502,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 65
"__id__": 59
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1690,7 +1530,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 67
"__id__": 61
},
"_id": ""
},