fix(ui): 修复升级按钮相关的预制体和动画配置

1.  更新cardlite预制体,新增升级图标节点与相关组件
2.  调整up动画的采样率、时长与关键帧参数
This commit is contained in:
panFD
2026-08-30 22:53:51 +08:00
parent 5edaae639d
commit a7e9bb2ace
6 changed files with 2895 additions and 1388 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -35,19 +35,22 @@
},
{
"__id__": 296
},
{
"__id__": 304
}
],
"_active": true,
"_components": [
{
"__id__": 304
"__id__": 316
},
{
"__id__": 306
"__id__": 318
}
],
"_prefab": {
"__id__": 308
"__id__": 320
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4243,6 +4246,266 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "canUp",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 305
}
],
"_active": true,
"_components": [
{
"__id__": 313
}
],
"_prefab": {
"__id__": 315
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 47.248,
"y": 136.44,
"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.Node",
"_name": "Slider_Level02_Icon_Up_Green",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 304
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 306
},
{
"__id__": 308
},
{
"__id__": 310
}
],
"_prefab": {
"__id__": 312
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -1.992,
"y": 4.834,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.4,
"y": 0.4,
"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__": 305
},
"_enabled": true,
"__prefab": {
"__id__": 307
},
"_contentSize": {
"__type__": "cc.Size",
"width": 54,
"height": 64
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7TrvPC1NMyrrSAPc9IyT8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 305
},
"_enabled": true,
"__prefab": {
"__id__": 309
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@f082c",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b1/udelkZOA5FLZTy+f8V0"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 305
},
"_enabled": true,
"__prefab": {
"__id__": 311
},
"playOnLoad": true,
"_clips": [
{
"__uuid__": "661bbd46-b8fb-4fec-889e-66b609c100d2",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "661bbd46-b8fb-4fec-889e-66b609c100d2",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "5eUib+aBBBoZ9H6+dEaNeW"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "70oQ6XbC9CgZ7GSks7Ipvs",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 304
},
"_enabled": true,
"__prefab": {
"__id__": 314
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d1pJngjTNEo7nRP3gTymBk"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "5eLRBbiJ1BurJE6wgi1nba",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -4253,7 +4516,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 305
"__id__": 317
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4281,7 +4544,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 307
"__id__": 319
},
"name_node": {
"__id__": 282

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB