普遍添加hover

This commit is contained in:
2025-05-30 17:55:03 +08:00
parent 51991470f6
commit cbfeda6636
16 changed files with 271 additions and 25 deletions

View File

@@ -3,8 +3,8 @@
"_$id": "w805s9t9",
"_$type": "Box",
"name": "GameOver",
"width": 1920,
"height": 1080,
"width": 1080,
"height": 1920,
"_mouseState": 2,
"drawCallOptimize": true,
"left": 0,
@@ -34,8 +34,8 @@
"_$id": "unwnutvo",
"_$type": "Image",
"name": "Image",
"width": 1920,
"height": 1080,
"width": 1080,
"height": 1920,
"alpha": 0.6,
"left": 0,
"right": 0,
@@ -48,7 +48,8 @@
"_$id": "0a0ovv4z",
"_$type": "Box",
"name": "center",
"x": 516,
"x": 96,
"y": 420,
"width": 888,
"height": 1080,
"_mouseState": 2,
@@ -97,6 +98,13 @@
"name": "btn_second",
"width": 744,
"height": 156,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [
{
"_$id": "0w6x8zzw",
@@ -205,6 +213,13 @@
"y": 196,
"width": 744,
"height": 156,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [
{
"_$id": "y7aniaui",
@@ -257,6 +272,13 @@
"y": 392,
"width": 744,
"height": 156,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [
{
"_$id": "eepsaznr",
@@ -310,8 +332,8 @@
"_$id": "jkqju6ok",
"_$type": "Label",
"name": "Label",
"x": 592,
"y": 101,
"x": 172,
"y": 521,
"width": 736,
"height": 100,
"centerX": 0,
@@ -329,8 +351,8 @@
"_$id": "39t7ygbe",
"_$type": "Label",
"name": "Label(1)",
"x": 606,
"y": 235,
"x": 186,
"y": 655,
"width": 709,
"height": 300,
"centerX": 0,