继续完善,todo herocard 点击后显示信息

This commit is contained in:
2024-12-02 16:46:31 +08:00
parent 69ec6c93fc
commit 31b181eb87
10 changed files with 530 additions and 1879 deletions

View File

@@ -27,6 +27,9 @@
{
"__id__": 22
},
{
"__id__": 28
},
{
"__id__": 34
},
@@ -41,10 +44,16 @@
},
{
"__id__": 76
},
{
"__id__": 78
},
{
"__id__": 80
}
],
"_prefab": {
"__id__": 78
"__id__": 83
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -521,22 +530,18 @@
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 23
}
],
"_children": [],
"_active": true,
"_components": [
{
"__id__": 29
"__id__": 23
},
{
"__id__": 31
"__id__": 25
}
],
"_prefab": {
"__id__": 33
"__id__": 27
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -567,31 +572,117 @@
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 24
},
"_contentSize": {
"__type__": "cc.Size",
"width": 89,
"height": 89
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7aA4ZvlQpNear6ycFqd468"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 26
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@008c0",
"__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": "b7uI2M3YdGj6VIy7UY4akz"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "e8i10bRRRABphjmj2v+NEC",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "lv",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 22
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 29
},
{
"__id__": 26
"__id__": 31
}
],
"_prefab": {
"__id__": 28
"__id__": 33
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"x": -45.97999999999999,
"y": 61.15300000000002,
"z": 0
},
"_lrot": {
@@ -603,8 +694,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"x": 0.4,
"y": 0.4,
"z": 1
},
"_mobility": 0,
@@ -623,11 +714,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 25
"__id__": 30
},
"_contentSize": {
"__type__": "cc.Size",
@@ -651,11 +742,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 27
"__id__": 32
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -726,92 +817,6 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 30
},
"_contentSize": {
"__type__": "cc.Size",
"width": 89,
"height": 89
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7aA4ZvlQpNear6ycFqd468"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 32
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@008c0",
"__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": "b7uI2M3YdGj6VIy7UY4akz"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "e8i10bRRRABphjmj2v+NEC",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "name",
@@ -973,7 +978,7 @@
},
{
"__type__": "cc.Node",
"_name": "stars",
"_name": "slv",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -1043,7 +1048,7 @@
"__id__": 40
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 42
@@ -1179,7 +1184,7 @@
"__id__": 40
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 48
@@ -1315,7 +1320,7 @@
"__id__": 40
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 54
@@ -1451,7 +1456,7 @@
"__id__": 40
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 60
@@ -1587,7 +1592,7 @@
"__id__": 40
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 66
@@ -1825,6 +1830,95 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "32bpMN2RNIXbFGf0XrTQcR"
},
{
"__type__": "e50ae68DJJPcqtoSXnmOcGT",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 79
},
"hcc_home": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7cMkGEWuhL85u6N6BcnP89"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 81
},
"clickEvents": [
{
"__id__": 82
}
],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "4eYZzd0tZCnaXQJvFU/nxf"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "e50ae68DJJPcqtoSXnmOcGT",
"handler": "show_info",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {

File diff suppressed because it is too large Load Diff