feat: 添加英雄信息弹窗显示功能
- 在卡牌点击时打开英雄技能信息弹窗 - 为英雄头像信息组件添加点击打开弹窗功能 - 重构信息弹窗组件,支持动态显示英雄技能信息 - 调整弹窗UI布局和尺寸以适应不同数量的技能显示
This commit is contained in:
@@ -35,10 +35,13 @@
|
||||
},
|
||||
{
|
||||
"__id__": 122
|
||||
},
|
||||
{
|
||||
"__id__": 124
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 124
|
||||
"__id__": 126
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -96,7 +99,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"y": 125,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -136,8 +139,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 660,
|
||||
"height": 200
|
||||
"width": 700,
|
||||
"height": 150
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -210,14 +213,14 @@
|
||||
"__prefab": {
|
||||
"__id__": 8
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_alignFlags": 18,
|
||||
"_target": null,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_left": 330,
|
||||
"_right": 330,
|
||||
"_top": 610,
|
||||
"_bottom": 610,
|
||||
"_horizontalCenter": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_verticalCenter": 125,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
@@ -290,7 +293,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"y": 125,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -535,7 +538,7 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -235,
|
||||
"x": -230,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
@@ -576,7 +579,7 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 545,
|
||||
"width": 535,
|
||||
"height": 50.4
|
||||
},
|
||||
"_anchorPoint": {
|
||||
@@ -721,7 +724,7 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 620,
|
||||
"width": 610,
|
||||
"height": 40
|
||||
},
|
||||
"_anchorPoint": {
|
||||
@@ -1006,7 +1009,7 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -235,
|
||||
"x": -230,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
@@ -1047,7 +1050,7 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 545,
|
||||
"width": 535,
|
||||
"height": 50.4
|
||||
},
|
||||
"_anchorPoint": {
|
||||
@@ -1192,7 +1195,7 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 620,
|
||||
"width": 610,
|
||||
"height": 40
|
||||
},
|
||||
"_anchorPoint": {
|
||||
@@ -2682,7 +2685,7 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 660,
|
||||
"width": 650,
|
||||
"height": 100
|
||||
},
|
||||
"_anchorPoint": {
|
||||
@@ -2708,14 +2711,14 @@
|
||||
"__prefab": {
|
||||
"__id__": 114
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_alignFlags": 18,
|
||||
"_target": null,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 50,
|
||||
"_bottom": 50,
|
||||
"_left": 310,
|
||||
"_right": 310,
|
||||
"_top": 590,
|
||||
"_bottom": 590,
|
||||
"_horizontalCenter": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_verticalCenter": 125,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
@@ -2797,8 +2800,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 660,
|
||||
"height": 200
|
||||
"width": 720,
|
||||
"height": 1280
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -2823,10 +2826,10 @@
|
||||
"__prefab": {
|
||||
"__id__": 121
|
||||
},
|
||||
"_alignFlags": 40,
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
"_left": 30,
|
||||
"_right": 30,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_horizontalCenter": 0,
|
||||
@@ -2838,7 +2841,7 @@
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 100,
|
||||
"_originalHeight": 0,
|
||||
"_originalHeight": 200,
|
||||
"_alignMode": 2,
|
||||
"_lockFlags": 0,
|
||||
"_id": ""
|
||||
@@ -2880,6 +2883,24 @@
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "caFlytW6dOyKuX32MnVcBt"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.BlockInputEvents",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 125
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "a6TSZyZXZJl5pquoyibxvV"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
|
||||
Reference in New Issue
Block a user