通用hover效果
This commit is contained in:
@@ -7,19 +7,22 @@
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"name": "Scene2D",
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"width": 1080,
|
||||
"height": 1920,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "7bad1742-6eed-4d8d-81c0-501dc5bf03d6",
|
||||
"scriptPath": "../src/Main.ts",
|
||||
"debug": false
|
||||
"scriptPath": "../src/Main.ts"
|
||||
},
|
||||
{
|
||||
"_$type": "cd70cd5e-b4cd-4277-ac0a-2224cfbe89ac",
|
||||
"scriptPath": "../src/models/UIManager.ts",
|
||||
"debug": false,
|
||||
"mask": {
|
||||
"_$ref": "2668mvhf"
|
||||
},
|
||||
"btn_clean": {
|
||||
"_$ref": "c5p596do"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -28,6 +31,8 @@
|
||||
"_$id": "4rxcl2w3",
|
||||
"_$type": "Panel",
|
||||
"name": "UIRoot",
|
||||
"x": -420,
|
||||
"y": 420,
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"_mouseState": 2,
|
||||
@@ -38,8 +43,8 @@
|
||||
"_$id": "2668mvhf",
|
||||
"_$type": "Image",
|
||||
"name": "mask",
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"width": 1080,
|
||||
"height": 1920,
|
||||
"alpha": 0,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
@@ -47,6 +52,41 @@
|
||||
"bottom": 0,
|
||||
"skin": "res://a98f334e-ce04-4cd0-8fc5-bbdf9b048609",
|
||||
"color": "#ffffff"
|
||||
},
|
||||
{
|
||||
"_$id": "c5p596do",
|
||||
"_$type": "Box",
|
||||
"name": "btn_clean",
|
||||
"x": 440,
|
||||
"y": 1860,
|
||||
"width": 200,
|
||||
"height": 60,
|
||||
"bottom": 0,
|
||||
"centerX": 0,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
|
||||
"scriptPath": "../src/views/common/CommonHover.ts"
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "oedhd7ds",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 200,
|
||||
"height": 60,
|
||||
"centerX": 0,
|
||||
"centerY": 0,
|
||||
"text": "Clean",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 60,
|
||||
"color": "rgba(89, 109, 152, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user