From feb3ecaea68da0d3cfa9750856cef357acd78d0d Mon Sep 17 00:00:00 2001
From: Spring774 <337905794@qq.com>
Date: Sat, 08 Nov 2025 22:01:13 +0800
Subject: [PATCH] 添加隐私政策查看链接
---
settings/project.json | 2
assets/Scene/logo.fire | 2
assets/Scene/main.fire | 785 ++++++++++++++++++++++++++++++++++---------------------
assets/Script/Menu.ts | 31 +
settings/huawei-runtime.json | 4
5 files changed, 508 insertions(+), 316 deletions(-)
diff --git a/assets/Scene/logo.fire b/assets/Scene/logo.fire
index cece822..a3931f9 100644
--- a/assets/Scene/logo.fire
+++ b/assets/Scene/logo.fire
@@ -1273,7 +1273,7 @@
"__id__": 29
}
],
- "_active": true,
+ "_active": false,
"_components": [
{
"__id__": 59
diff --git a/assets/Scene/main.fire b/assets/Scene/main.fire
index e89d01d..ad64a60 100644
--- a/assets/Scene/main.fire
+++ b/assets/Scene/main.fire
@@ -81,40 +81,40 @@
"__id__": 16
},
{
- "__id__": 25
+ "__id__": 29
},
{
- "__id__": 95
+ "__id__": 99
},
{
- "__id__": 101
- },
- {
- "__id__": 109
+ "__id__": 105
},
{
"__id__": 113
},
{
- "__id__": 119
+ "__id__": 117
},
{
- "__id__": 140
+ "__id__": 123
},
{
- "__id__": 143
+ "__id__": 144
+ },
+ {
+ "__id__": 147
}
],
"_active": true,
"_components": [
{
- "__id__": 158
+ "__id__": 162
},
{
- "__id__": 159
+ "__id__": 163
},
{
- "__id__": 160
+ "__id__": 164
}
],
"_prefab": null,
@@ -738,15 +738,18 @@
},
{
"__id__": 21
+ },
+ {
+ "__id__": 23
}
],
"_active": true,
"_components": [
{
- "__id__": 23
+ "__id__": 27
},
{
- "__id__": 24
+ "__id__": 28
}
],
"_prefab": null,
@@ -1080,6 +1083,186 @@
"_id": "73XrU1dztE17EQq8bMQcG1"
},
{
+ "__type__": "cc.Node",
+ "_name": "PrivacyLabel",
+ "_objFlags": 0,
+ "_parent": {
+ "__id__": 16
+ },
+ "_children": [],
+ "_active": true,
+ "_components": [
+ {
+ "__id__": 24
+ },
+ {
+ "__id__": 25
+ }
+ ],
+ "_prefab": null,
+ "_opacity": 255,
+ "_color": {
+ "__type__": "cc.Color",
+ "r": 135,
+ "g": 146,
+ "b": 241,
+ "a": 255
+ },
+ "_contentSize": {
+ "__type__": "cc.Size",
+ "width": 180,
+ "height": 50.4
+ },
+ "_anchorPoint": {
+ "__type__": "cc.Vec2",
+ "x": 0.5,
+ "y": 0.5
+ },
+ "_trs": {
+ "__type__": "TypedArray",
+ "ctor": "Float64Array",
+ "array": [
+ 0,
+ -106.96,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 1,
+ 0
+ ]
+ },
+ "_eulerAngles": {
+ "__type__": "cc.Vec3",
+ "x": 0,
+ "y": 0,
+ "z": 0
+ },
+ "_skewX": 0,
+ "_skewY": 0,
+ "_is3DNode": false,
+ "_groupIndex": 0,
+ "groupIndex": 0,
+ "_id": "bfYhvqRfNNCYk/3D7Yf+j3"
+ },
+ {
+ "__type__": "cc.Label",
+ "_name": "",
+ "_objFlags": 0,
+ "node": {
+ "__id__": 23
+ },
+ "_enabled": true,
+ "_materials": [
+ {
+ "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+ }
+ ],
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
+ "_string": "《隐私协议》",
+ "_N$string": "《隐私协议》",
+ "_fontSize": 30,
+ "_lineHeight": 40,
+ "_enableWrapText": true,
+ "_N$file": null,
+ "_isSystemFontUsed": true,
+ "_spacingX": 0,
+ "_batchAsBitmap": false,
+ "_styleFlags": 4,
+ "_underlineHeight": 0,
+ "_N$horizontalAlign": 1,
+ "_N$verticalAlign": 1,
+ "_N$fontFamily": "Arial",
+ "_N$overflow": 0,
+ "_N$cacheMode": 0,
+ "_id": "009Xi1IrVHTolsNUEYDdfa"
+ },
+ {
+ "__type__": "cc.Button",
+ "_name": "",
+ "_objFlags": 0,
+ "node": {
+ "__id__": 23
+ },
+ "_enabled": true,
+ "_normalMaterial": null,
+ "_grayMaterial": null,
+ "duration": 0.1,
+ "zoomScale": 1.2,
+ "clickEvents": [
+ {
+ "__id__": 26
+ }
+ ],
+ "_N$interactable": true,
+ "_N$enableAutoGrayEffect": false,
+ "_N$transition": 3,
+ "transition": 3,
+ "_N$normalColor": {
+ "__type__": "cc.Color",
+ "r": 255,
+ "g": 255,
+ "b": 255,
+ "a": 255
+ },
+ "_N$pressedColor": {
+ "__type__": "cc.Color",
+ "r": 211,
+ "g": 211,
+ "b": 211,
+ "a": 255
+ },
+ "pressedColor": {
+ "__type__": "cc.Color",
+ "r": 211,
+ "g": 211,
+ "b": 211,
+ "a": 255
+ },
+ "_N$hoverColor": {
+ "__type__": "cc.Color",
+ "r": 255,
+ "g": 255,
+ "b": 255,
+ "a": 255
+ },
+ "hoverColor": {
+ "__type__": "cc.Color",
+ "r": 255,
+ "g": 255,
+ "b": 255,
+ "a": 255
+ },
+ "_N$disabledColor": {
+ "__type__": "cc.Color",
+ "r": 124,
+ "g": 124,
+ "b": 124,
+ "a": 255
+ },
+ "_N$normalSprite": null,
+ "_N$pressedSprite": null,
+ "pressedSprite": null,
+ "_N$hoverSprite": null,
+ "hoverSprite": null,
+ "_N$disabledSprite": null,
+ "_N$target": null,
+ "_id": "8aYnnkBuhHSohGXR22jyWR"
+ },
+ {
+ "__type__": "cc.ClickEvent",
+ "target": {
+ "__id__": 2
+ },
+ "component": "",
+ "_componentId": "a8a2bitznFFwYEXnTTRxYLf",
+ "handler": "onPrivacyPolicyLinkClicked",
+ "customEventData": ""
+ },
+ {
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
@@ -1145,19 +1328,19 @@
},
"_children": [
{
- "__id__": 26
+ "__id__": 30
},
{
- "__id__": 29
+ "__id__": 33
}
],
"_active": true,
"_components": [
{
- "__id__": 93
+ "__id__": 97
},
{
- "__id__": 94
+ "__id__": 98
}
],
"_prefab": null,
@@ -1213,16 +1396,16 @@
"_name": "line3",
"_objFlags": 0,
"_parent": {
- "__id__": 25
+ "__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 27
+ "__id__": 31
},
{
- "__id__": 28
+ "__id__": 32
}
],
"_prefab": null,
@@ -1278,7 +1461,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 26
+ "__id__": 30
},
"_enabled": true,
"_materials": [
@@ -1310,7 +1493,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 26
+ "__id__": 30
},
"_enabled": true,
"alignMode": 1,
@@ -1337,26 +1520,26 @@
"_name": "bottombuttons",
"_objFlags": 0,
"_parent": {
- "__id__": 25
+ "__id__": 29
},
"_children": [
{
- "__id__": 30
+ "__id__": 34
},
{
- "__id__": 38
+ "__id__": 42
},
{
- "__id__": 46
+ "__id__": 50
},
{
- "__id__": 54
+ "__id__": 58
},
{
- "__id__": 63
+ "__id__": 67
},
{
- "__id__": 82
+ "__id__": 86
}
],
"_active": true,
@@ -1414,23 +1597,23 @@
"_name": "btn_share",
"_objFlags": 0,
"_parent": {
- "__id__": 29
+ "__id__": 33
},
"_children": [
{
- "__id__": 31
+ "__id__": 35
},
{
- "__id__": 33
+ "__id__": 37
}
],
"_active": false,
"_components": [
{
- "__id__": 35
+ "__id__": 39
},
{
- "__id__": 36
+ "__id__": 40
}
],
"_prefab": null,
@@ -1486,13 +1669,13 @@
"_name": "icon_share",
"_objFlags": 0,
"_parent": {
- "__id__": 30
+ "__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 32
+ "__id__": 36
}
],
"_prefab": null,
@@ -1548,7 +1731,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 31
+ "__id__": 35
},
"_enabled": true,
"_materials": [
@@ -1580,13 +1763,13 @@
"_name": "New Label copy",
"_objFlags": 0,
"_parent": {
- "__id__": 30
+ "__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 34
+ "__id__": 38
}
],
"_prefab": null,
@@ -1642,7 +1825,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 33
+ "__id__": 37
},
"_enabled": true,
"_materials": [
@@ -1675,7 +1858,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 30
+ "__id__": 34
},
"_enabled": true,
"_materials": [
@@ -1707,7 +1890,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 30
+ "__id__": 34
},
"_enabled": true,
"_normalMaterial": {
@@ -1718,7 +1901,7 @@
"zoomScale": 0.9,
"clickEvents": [
{
- "__id__": 37
+ "__id__": 41
}
],
"_N$interactable": true,
@@ -1774,7 +1957,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
- "__id__": 30
+ "__id__": 34
},
"_id": "e8iZJTjiRAR6xzLHR7sP0E"
},
@@ -1793,23 +1976,23 @@
"_name": "btn_more",
"_objFlags": 0,
"_parent": {
- "__id__": 29
+ "__id__": 33
},
"_children": [
{
- "__id__": 39
+ "__id__": 43
},
{
- "__id__": 41
+ "__id__": 45
}
],
"_active": false,
"_components": [
{
- "__id__": 43
+ "__id__": 47
},
{
- "__id__": 44
+ "__id__": 48
}
],
"_prefab": null,
@@ -1865,13 +2048,13 @@
"_name": "icon_share",
"_objFlags": 0,
"_parent": {
- "__id__": 38
+ "__id__": 42
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 40
+ "__id__": 44
}
],
"_prefab": null,
@@ -1927,7 +2110,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 39
+ "__id__": 43
},
"_enabled": true,
"_materials": [
@@ -1959,13 +2142,13 @@
"_name": "New Label copy",
"_objFlags": 0,
"_parent": {
- "__id__": 38
+ "__id__": 42
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 42
+ "__id__": 46
}
],
"_prefab": null,
@@ -2021,7 +2204,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 41
+ "__id__": 45
},
"_enabled": true,
"_materials": [
@@ -2054,7 +2237,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 38
+ "__id__": 42
},
"_enabled": true,
"_materials": [
@@ -2086,7 +2269,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 38
+ "__id__": 42
},
"_enabled": true,
"_normalMaterial": {
@@ -2097,7 +2280,7 @@
"zoomScale": 0.9,
"clickEvents": [
{
- "__id__": 45
+ "__id__": 49
}
],
"_N$interactable": true,
@@ -2153,7 +2336,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
- "__id__": 38
+ "__id__": 42
},
"_id": "54WvjPqkFDeKsmeHXIyB0j"
},
@@ -2172,23 +2355,23 @@
"_name": "btn_shortcut",
"_objFlags": 0,
"_parent": {
- "__id__": 29
+ "__id__": 33
},
"_children": [
{
- "__id__": 47
+ "__id__": 51
},
{
- "__id__": 49
+ "__id__": 53
}
],
"_active": false,
"_components": [
{
- "__id__": 51
+ "__id__": 55
},
{
- "__id__": 52
+ "__id__": 56
}
],
"_prefab": null,
@@ -2244,13 +2427,13 @@
"_name": "icon_share",
"_objFlags": 0,
"_parent": {
- "__id__": 46
+ "__id__": 50
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 48
+ "__id__": 52
}
],
"_prefab": null,
@@ -2306,7 +2489,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 47
+ "__id__": 51
},
"_enabled": true,
"_materials": [
@@ -2338,13 +2521,13 @@
"_name": "New Label copy",
"_objFlags": 0,
"_parent": {
- "__id__": 46
+ "__id__": 50
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 50
+ "__id__": 54
}
],
"_prefab": null,
@@ -2400,7 +2583,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 49
+ "__id__": 53
},
"_enabled": true,
"_materials": [
@@ -2433,7 +2616,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 46
+ "__id__": 50
},
"_enabled": true,
"_materials": [
@@ -2465,7 +2648,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 46
+ "__id__": 50
},
"_enabled": true,
"_normalMaterial": {
@@ -2476,7 +2659,7 @@
"zoomScale": 0.9,
"clickEvents": [
{
- "__id__": 53
+ "__id__": 57
}
],
"_N$interactable": true,
@@ -2532,7 +2715,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
- "__id__": 46
+ "__id__": 50
},
"_id": "8ahXRtJ5BEAqfatFY0IRLX"
},
@@ -2551,26 +2734,26 @@
"_name": "btn_tiktok",
"_objFlags": 0,
"_parent": {
- "__id__": 29
+ "__id__": 33
},
"_children": [
{
- "__id__": 55
+ "__id__": 59
},
{
- "__id__": 57
+ "__id__": 61
}
],
"_active": false,
"_components": [
{
- "__id__": 59
+ "__id__": 63
},
{
- "__id__": 60
+ "__id__": 64
},
{
- "__id__": 62
+ "__id__": 66
}
],
"_prefab": null,
@@ -2626,13 +2809,13 @@
"_name": "icon_share",
"_objFlags": 0,
"_parent": {
- "__id__": 54
+ "__id__": 58
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 56
+ "__id__": 60
}
],
"_prefab": null,
@@ -2688,7 +2871,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 55
+ "__id__": 59
},
"_enabled": true,
"_materials": [
@@ -2720,13 +2903,13 @@
"_name": "New Label copy",
"_objFlags": 0,
"_parent": {
- "__id__": 54
+ "__id__": 58
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 58
+ "__id__": 62
}
],
"_prefab": null,
@@ -2782,7 +2965,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 57
+ "__id__": 61
},
"_enabled": true,
"_materials": [
@@ -2815,7 +2998,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 54
+ "__id__": 58
},
"_enabled": true,
"_materials": [
@@ -2847,7 +3030,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 54
+ "__id__": 58
},
"_enabled": true,
"_normalMaterial": {
@@ -2858,7 +3041,7 @@
"zoomScale": 0.9,
"clickEvents": [
{
- "__id__": 61
+ "__id__": 65
}
],
"_N$interactable": true,
@@ -2914,7 +3097,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
- "__id__": 54
+ "__id__": 58
},
"_id": "56fj/JuHpP55xbbpVZ2zQq"
},
@@ -2933,7 +3116,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 54
+ "__id__": 58
},
"_enabled": true,
"scaleMax": 1,
@@ -2945,23 +3128,23 @@
"_name": "bottom_bt_leaderboard",
"_objFlags": 0,
"_parent": {
- "__id__": 29
+ "__id__": 33
},
"_children": [
{
- "__id__": 64
+ "__id__": 68
},
{
- "__id__": 77
+ "__id__": 81
}
],
"_active": false,
"_components": [
{
- "__id__": 79
+ "__id__": 83
},
{
- "__id__": 80
+ "__id__": 84
}
],
"_prefab": null,
@@ -3017,15 +3200,9 @@
"_name": "rankitem",
"_objFlags": 0,
"_parent": {
- "__id__": 63
+ "__id__": 67
},
"_children": [
- {
- "__id__": 65
- },
- {
- "__id__": 67
- },
{
"__id__": 69
},
@@ -3034,15 +3211,21 @@
},
{
"__id__": 73
+ },
+ {
+ "__id__": 75
+ },
+ {
+ "__id__": 77
}
],
"_active": true,
"_components": [
{
- "__id__": 75
+ "__id__": 79
},
{
- "__id__": 76
+ "__id__": 80
}
],
"_prefab": null,
@@ -3098,13 +3281,13 @@
"_name": "rank",
"_objFlags": 0,
"_parent": {
- "__id__": 64
+ "__id__": 68
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 66
+ "__id__": 70
}
],
"_prefab": null,
@@ -3160,7 +3343,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 65
+ "__id__": 69
},
"_enabled": true,
"_materials": [
@@ -3195,13 +3378,13 @@
"_name": "score",
"_objFlags": 0,
"_parent": {
- "__id__": 64
+ "__id__": 68
},
"_children": [],
"_active": false,
"_components": [
{
- "__id__": 68
+ "__id__": 72
}
],
"_prefab": null,
@@ -3257,7 +3440,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 67
+ "__id__": 71
},
"_enabled": true,
"_materials": [
@@ -3292,13 +3475,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
- "__id__": 64
+ "__id__": 68
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 70
+ "__id__": 74
}
],
"_prefab": null,
@@ -3354,7 +3537,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 69
+ "__id__": 73
},
"_enabled": true,
"_materials": [
@@ -3384,13 +3567,13 @@
"_name": "star",
"_objFlags": 0,
"_parent": {
- "__id__": 64
+ "__id__": 68
},
"_children": [],
"_active": false,
"_components": [
{
- "__id__": 72
+ "__id__": 76
}
],
"_prefab": null,
@@ -3446,7 +3629,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 71
+ "__id__": 75
},
"_enabled": true,
"_materials": [
@@ -3476,13 +3659,13 @@
"_name": "name",
"_objFlags": 0,
"_parent": {
- "__id__": 64
+ "__id__": 68
},
"_children": [],
"_active": false,
"_components": [
{
- "__id__": 74
+ "__id__": 78
}
],
"_prefab": null,
@@ -3538,7 +3721,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 73
+ "__id__": 77
},
"_enabled": true,
"_materials": [
@@ -3571,7 +3754,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 64
+ "__id__": 68
},
"_enabled": true,
"_materials": [],
@@ -3597,21 +3780,21 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 64
+ "__id__": 68
},
"_enabled": true,
"rankLabel": {
- "__id__": 66
+ "__id__": 70
},
"icon": {
- "__id__": 70
+ "__id__": 74
},
"skin": null,
"nicknameLabel": {
- "__id__": 74
+ "__id__": 78
},
"scoreLabel": {
- "__id__": 68
+ "__id__": 72
},
"btnLabel": null,
"_id": "83LLW0dmVN9Zv5wL4NAg9R"
@@ -3621,13 +3804,13 @@
"_name": "rank",
"_objFlags": 0,
"_parent": {
- "__id__": 63
+ "__id__": 67
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 78
+ "__id__": 82
}
],
"_prefab": null,
@@ -3683,7 +3866,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 77
+ "__id__": 81
},
"_enabled": true,
"_materials": [
@@ -3718,7 +3901,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 63
+ "__id__": 67
},
"_enabled": true,
"_materials": [
@@ -3750,7 +3933,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 63
+ "__id__": 67
},
"_enabled": true,
"_normalMaterial": null,
@@ -3759,7 +3942,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
- "__id__": 81
+ "__id__": 85
}
],
"_N$interactable": true,
@@ -3815,7 +3998,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
- "__id__": 63
+ "__id__": 67
},
"_id": "aasXtpzUBH+6AD90Pz3Xor"
},
@@ -3834,26 +4017,26 @@
"_name": "btn_skin",
"_objFlags": 0,
"_parent": {
- "__id__": 29
+ "__id__": 33
},
"_children": [
{
- "__id__": 83
- },
- {
- "__id__": 85
- },
- {
"__id__": 87
+ },
+ {
+ "__id__": 89
+ },
+ {
+ "__id__": 91
}
],
"_active": true,
"_components": [
{
- "__id__": 90
+ "__id__": 94
},
{
- "__id__": 91
+ "__id__": 95
}
],
"_prefab": null,
@@ -3909,13 +4092,13 @@
"_name": "icon_balls",
"_objFlags": 0,
"_parent": {
- "__id__": 82
+ "__id__": 86
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 84
+ "__id__": 88
}
],
"_prefab": null,
@@ -3971,7 +4154,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 83
+ "__id__": 87
},
"_enabled": true,
"_materials": [
@@ -4003,13 +4186,13 @@
"_name": "New Label",
"_objFlags": 0,
"_parent": {
- "__id__": 82
+ "__id__": 86
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 86
+ "__id__": 90
}
],
"_prefab": null,
@@ -4065,7 +4248,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 85
+ "__id__": 89
},
"_enabled": true,
"_materials": [
@@ -4098,16 +4281,16 @@
"_name": "reddot",
"_objFlags": 0,
"_parent": {
- "__id__": 82
+ "__id__": 86
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 88
+ "__id__": 92
},
{
- "__id__": 89
+ "__id__": 93
}
],
"_prefab": null,
@@ -4163,7 +4346,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 87
+ "__id__": 91
},
"_enabled": true,
"_materials": [
@@ -4195,7 +4378,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 87
+ "__id__": 91
},
"_enabled": true,
"scaleMax": 1,
@@ -4207,7 +4390,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 82
+ "__id__": 86
},
"_enabled": true,
"_materials": [
@@ -4239,7 +4422,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 82
+ "__id__": 86
},
"_enabled": true,
"_normalMaterial": {
@@ -4250,7 +4433,7 @@
"zoomScale": 0.9,
"clickEvents": [
{
- "__id__": 92
+ "__id__": 96
}
],
"_N$interactable": true,
@@ -4323,7 +4506,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 25
+ "__id__": 29
},
"_enabled": true,
"_materials": [
@@ -4353,7 +4536,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 25
+ "__id__": 29
},
"_enabled": true,
"alignMode": 0,
@@ -4384,16 +4567,16 @@
},
"_children": [
{
- "__id__": 96
+ "__id__": 100
}
],
"_active": true,
"_components": [
{
- "__id__": 98
+ "__id__": 102
},
{
- "__id__": 99
+ "__id__": 103
}
],
"_prefab": null,
@@ -4449,13 +4632,13 @@
"_name": "rubyNum",
"_objFlags": 0,
"_parent": {
- "__id__": 95
+ "__id__": 99
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 97
+ "__id__": 101
}
],
"_prefab": null,
@@ -4511,7 +4694,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 96
+ "__id__": 100
},
"_enabled": true,
"_materials": [
@@ -4546,7 +4729,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 95
+ "__id__": 99
},
"_enabled": true,
"_materials": [
@@ -4578,7 +4761,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 95
+ "__id__": 99
},
"_enabled": true,
"_normalMaterial": null,
@@ -4587,7 +4770,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
- "__id__": 100
+ "__id__": 104
}
],
"_N$interactable": true,
@@ -4643,7 +4826,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
- "__id__": 95
+ "__id__": 99
},
"_id": "fa+oQUkCtMhb0gw4r8mdlM"
},
@@ -4664,19 +4847,19 @@
},
"_children": [
{
- "__id__": 102
+ "__id__": 106
},
{
- "__id__": 104
+ "__id__": 108
}
],
"_active": false,
"_components": [
{
- "__id__": 106
+ "__id__": 110
},
{
- "__id__": 107
+ "__id__": 111
}
],
"_prefab": null,
@@ -4732,13 +4915,13 @@
"_name": "icon_shop",
"_objFlags": 0,
"_parent": {
- "__id__": 101
+ "__id__": 105
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 103
+ "__id__": 107
}
],
"_prefab": null,
@@ -4794,7 +4977,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 102
+ "__id__": 106
},
"_enabled": true,
"_materials": [
@@ -4826,13 +5009,13 @@
"_name": "shopLabel",
"_objFlags": 0,
"_parent": {
- "__id__": 101
+ "__id__": 105
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 105
+ "__id__": 109
}
],
"_prefab": null,
@@ -4888,7 +5071,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 104
+ "__id__": 108
},
"_enabled": true,
"_materials": [
@@ -4923,7 +5106,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 101
+ "__id__": 105
},
"_enabled": true,
"_materials": [
@@ -4955,7 +5138,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 101
+ "__id__": 105
},
"_enabled": true,
"_normalMaterial": {
@@ -4966,7 +5149,7 @@
"zoomScale": 0.9,
"clickEvents": [
{
- "__id__": 108
+ "__id__": 112
}
],
"_N$interactable": true,
@@ -5043,13 +5226,13 @@
},
"_children": [
{
- "__id__": 110
+ "__id__": 114
}
],
"_active": true,
"_components": [
{
- "__id__": 112
+ "__id__": 116
}
],
"_prefab": null,
@@ -5105,13 +5288,13 @@
"_name": "starNum",
"_objFlags": 0,
"_parent": {
- "__id__": 109
+ "__id__": 113
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 111
+ "__id__": 115
}
],
"_prefab": null,
@@ -5167,7 +5350,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 110
+ "__id__": 114
},
"_enabled": true,
"_materials": [
@@ -5202,7 +5385,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 109
+ "__id__": 113
},
"_enabled": true,
"_materials": [
@@ -5238,16 +5421,16 @@
},
"_children": [
{
- "__id__": 114
+ "__id__": 118
}
],
"_active": true,
"_components": [
{
- "__id__": 116
+ "__id__": 120
},
{
- "__id__": 117
+ "__id__": 121
}
],
"_prefab": null,
@@ -5303,13 +5486,13 @@
"_name": "name",
"_objFlags": 0,
"_parent": {
- "__id__": 113
+ "__id__": 117
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 115
+ "__id__": 119
}
],
"_prefab": null,
@@ -5365,7 +5548,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 114
+ "__id__": 118
},
"_enabled": true,
"_materials": [
@@ -5398,7 +5581,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 113
+ "__id__": 117
},
"_enabled": true,
"_materials": [
@@ -5430,7 +5613,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 113
+ "__id__": 117
},
"_enabled": true,
"_normalMaterial": null,
@@ -5439,7 +5622,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
- "__id__": 118
+ "__id__": 122
}
],
"_N$interactable": true,
@@ -5495,7 +5678,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
- "__id__": 113
+ "__id__": 117
},
"_id": "81fLzWQqBHwrOKvHA7wtgU"
},
@@ -5518,19 +5701,19 @@
},
"_children": [
{
- "__id__": 120
+ "__id__": 124
},
{
- "__id__": 125
+ "__id__": 129
}
],
"_active": false,
"_components": [
{
- "__id__": 138
+ "__id__": 142
},
{
- "__id__": 139
+ "__id__": 143
}
],
"_prefab": null,
@@ -5586,19 +5769,19 @@
"_name": "singleColor",
"_objFlags": 0,
"_parent": {
- "__id__": 119
+ "__id__": 123
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 121
+ "__id__": 125
},
{
- "__id__": 122
+ "__id__": 126
},
{
- "__id__": 123
+ "__id__": 127
}
],
"_prefab": null,
@@ -5654,7 +5837,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 120
+ "__id__": 124
},
"_enabled": true,
"_materials": [
@@ -5686,7 +5869,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 120
+ "__id__": 124
},
"_enabled": true,
"alignMode": 0,
@@ -5713,7 +5896,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 120
+ "__id__": 124
},
"_enabled": true,
"_normalMaterial": null,
@@ -5722,7 +5905,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
- "__id__": 124
+ "__id__": 128
}
],
"_N$interactable": true,
@@ -5778,14 +5961,14 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
- "__id__": 120
+ "__id__": 124
},
"_id": "9fW+A8BJVJPqsO0Rq2v8dY"
},
{
"__type__": "cc.ClickEvent",
"target": {
- "__id__": 119
+ "__id__": 123
},
"component": "",
"_componentId": "c7dc1YscahPIIyHhuNWIlZ5",
@@ -5797,11 +5980,11 @@
"_name": "content",
"_objFlags": 0,
"_parent": {
- "__id__": 119
+ "__id__": 123
},
"_children": [
{
- "__id__": 126
+ "__id__": 130
}
],
"_active": true,
@@ -5859,23 +6042,23 @@
"_name": "slide",
"_objFlags": 0,
"_parent": {
- "__id__": 125
+ "__id__": 129
},
"_children": [
{
- "__id__": 127
+ "__id__": 131
},
{
- "__id__": 129
+ "__id__": 133
}
],
"_active": true,
"_components": [
{
- "__id__": 136
+ "__id__": 140
},
{
- "__id__": 137
+ "__id__": 141
}
],
"_prefab": null,
@@ -5931,13 +6114,13 @@
"_name": "title",
"_objFlags": 0,
"_parent": {
- "__id__": 126
+ "__id__": 130
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 128
+ "__id__": 132
}
],
"_prefab": null,
@@ -5993,7 +6176,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 127
+ "__id__": 131
},
"_enabled": true,
"_materials": [
@@ -6026,20 +6209,20 @@
"_name": "scrollview",
"_objFlags": 0,
"_parent": {
- "__id__": 126
+ "__id__": 130
},
"_children": [
{
- "__id__": 130
+ "__id__": 134
}
],
"_active": true,
"_components": [
{
- "__id__": 134
+ "__id__": 138
},
{
- "__id__": 135
+ "__id__": 139
}
],
"_prefab": null,
@@ -6095,17 +6278,17 @@
"_name": "view",
"_objFlags": 0,
"_parent": {
- "__id__": 129
+ "__id__": 133
},
"_children": [
{
- "__id__": 131
+ "__id__": 135
}
],
"_active": true,
"_components": [
{
- "__id__": 133
+ "__id__": 137
}
],
"_prefab": null,
@@ -6161,13 +6344,13 @@
"_name": "content",
"_objFlags": 0,
"_parent": {
- "__id__": 130
+ "__id__": 134
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 132
+ "__id__": 136
}
],
"_prefab": null,
@@ -6223,7 +6406,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 131
+ "__id__": 135
},
"_enabled": true,
"_layoutSize": {
@@ -6255,7 +6438,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 130
+ "__id__": 134
},
"_enabled": true,
"_materials": [
@@ -6275,7 +6458,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 129
+ "__id__": 133
},
"_enabled": true,
"_materials": [],
@@ -6301,7 +6484,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 129
+ "__id__": 133
},
"_enabled": true,
"horizontal": false,
@@ -6313,10 +6496,10 @@
"scrollEvents": [],
"cancelInnerEvents": true,
"_N$content": {
- "__id__": 131
+ "__id__": 135
},
"content": {
- "__id__": 131
+ "__id__": 135
},
"_N$horizontalScrollBar": null,
"_N$verticalScrollBar": null,
@@ -6327,7 +6510,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 126
+ "__id__": 130
},
"_enabled": true,
"_materials": [
@@ -6359,7 +6542,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 126
+ "__id__": 130
},
"_enabled": true,
"_normalMaterial": null,
@@ -6420,7 +6603,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
- "__id__": 126
+ "__id__": 130
},
"_id": "81xQhl4TtHgq+nH9ijToJd"
},
@@ -6429,7 +6612,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 119
+ "__id__": 123
},
"_enabled": true,
"alignMode": 0,
@@ -6456,14 +6639,14 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 119
+ "__id__": 123
},
"_enabled": true,
"contentNode": {
- "__id__": 125
+ "__id__": 129
},
"scrollContent": {
- "__id__": 131
+ "__id__": 135
},
"moreLevelPrefab": {
"__uuid__": "bd645b7d-d3a7-479b-a8a3-851cdd2576fa"
@@ -6481,10 +6664,10 @@
"_active": true,
"_components": [
{
- "__id__": 141
+ "__id__": 145
},
{
- "__id__": 142
+ "__id__": 146
}
],
"_prefab": null,
@@ -6498,7 +6681,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
- "width": 28.43,
+ "width": 28.87,
"height": 46
},
"_anchorPoint": {
@@ -6540,7 +6723,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 140
+ "__id__": 144
},
"_enabled": true,
"_materials": [
@@ -6550,8 +6733,8 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
- "_string": "1.0.6",
- "_N$string": "1.0.6",
+ "_string": "1.0.2",
+ "_N$string": "1.0.2",
"_fontSize": 20,
"_lineHeight": 46,
"_enableWrapText": true,
@@ -6575,7 +6758,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 140
+ "__id__": 144
},
"_enabled": true,
"alignMode": 0,
@@ -6606,26 +6789,26 @@
},
"_children": [
{
- "__id__": 144
+ "__id__": 148
},
{
- "__id__": 149
- },
- {
- "__id__": 152
- }
- ],
- "_active": false,
- "_components": [
- {
- "__id__": 155
+ "__id__": 153
},
{
"__id__": 156
}
],
+ "_active": false,
+ "_components": [
+ {
+ "__id__": 159
+ },
+ {
+ "__id__": 160
+ }
+ ],
"_prefab": {
- "__id__": 157
+ "__id__": 161
},
"_opacity": 255,
"_color": {
@@ -6679,23 +6862,23 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
- "__id__": 143
+ "__id__": 147
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 145
+ "__id__": 149
},
{
- "__id__": 146
+ "__id__": 150
},
{
- "__id__": 147
+ "__id__": 151
}
],
"_prefab": {
- "__id__": 148
+ "__id__": 152
},
"_opacity": 175.185,
"_color": {
@@ -6749,7 +6932,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 144
+ "__id__": 148
},
"_enabled": true,
"_materials": [
@@ -6781,7 +6964,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 144
+ "__id__": 148
},
"_enabled": true,
"alignMode": 0,
@@ -6808,7 +6991,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 144
+ "__id__": 148
},
"_enabled": true,
"_normalMaterial": null,
@@ -6869,14 +7052,14 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
- "__id__": 144
+ "__id__": 148
},
"_id": "d3ky/x4vVPu6i0nY7qDh0r"
},
{
"__type__": "cc.PrefabInfo",
"root": {
- "__id__": 143
+ "__id__": 147
},
"asset": {
"__uuid__": "c9f19ce7-30ac-4eca-b67a-9a646c0de411"
@@ -6889,17 +7072,17 @@
"_name": "logo",
"_objFlags": 0,
"_parent": {
- "__id__": 143
+ "__id__": 147
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 150
+ "__id__": 154
}
],
"_prefab": {
- "__id__": 151
+ "__id__": 155
},
"_opacity": 255,
"_color": {
@@ -6953,7 +7136,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 149
+ "__id__": 153
},
"_enabled": true,
"_materials": [
@@ -6983,7 +7166,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
- "__id__": 143
+ "__id__": 147
},
"asset": {
"__uuid__": "c9f19ce7-30ac-4eca-b67a-9a646c0de411"
@@ -6996,17 +7179,17 @@
"_name": "New Label",
"_objFlags": 0,
"_parent": {
- "__id__": 143
+ "__id__": 147
},
"_children": [],
"_active": true,
"_components": [
{
- "__id__": 153
+ "__id__": 157
}
],
"_prefab": {
- "__id__": 154
+ "__id__": 158
},
"_opacity": 255,
"_color": {
@@ -7060,7 +7243,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 152
+ "__id__": 156
},
"_enabled": true,
"_materials": [
@@ -7091,7 +7274,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
- "__id__": 143
+ "__id__": 147
},
"asset": {
"__uuid__": "c9f19ce7-30ac-4eca-b67a-9a646c0de411"
@@ -7104,7 +7287,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 143
+ "__id__": 147
},
"_enabled": true,
"alignMode": 0,
@@ -7131,7 +7314,7 @@
"_name": "",
"_objFlags": 0,
"node": {
- "__id__": 143
+ "__id__": 147
},
"_enabled": true,
"_defaultClip": {
@@ -7148,7 +7331,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
- "__id__": 143
+ "__id__": 147
},
"asset": {
"__uuid__": "c9f19ce7-30ac-4eca-b67a-9a646c0de411"
@@ -7194,28 +7377,28 @@
"__id__": 15
},
"moveLevelsNode": {
- "__id__": 119
+ "__id__": 123
},
"gemLabel": {
- "__id__": 97
- },
- "starLabel": {
- "__id__": 111
- },
- "bottomButtonsNode": {
- "__id__": 29
- },
- "myrankNode": {
- "__id__": 64
- },
- "shopButtonNode": {
"__id__": 101
},
+ "starLabel": {
+ "__id__": 115
+ },
+ "bottomButtonsNode": {
+ "__id__": 33
+ },
+ "myrankNode": {
+ "__id__": 68
+ },
+ "shopButtonNode": {
+ "__id__": 105
+ },
"buyBallTipNode": {
- "__id__": 87
+ "__id__": 91
},
"moregamesNode": {
- "__id__": 38
+ "__id__": 42
},
"_id": "d2G9IMywVJDJU0Fw27lZPy"
},
diff --git a/assets/Script/Menu.ts b/assets/Script/Menu.ts
index c53df02..4910534 100644
--- a/assets/Script/Menu.ts
+++ b/assets/Script/Menu.ts
@@ -85,10 +85,19 @@
this.checkShowButtonShow();
}
+ onPrivacyPolicyLinkClicked() {
+ qg && qg.openDeeplink({
+ uri: 'https://www.yujigames.com/privacy_cn.html',
+ params: {
+ ___PARAM_LAUNCH_NATIVE_FLAG___: 'newTask'
+ }
+ });
+ }
+
checkShowButtonShow() {
- if (Sdk.isToutiao){
+ if (Sdk.isToutiao) {
this.shopButtonNode.active = false;
- }else{
+ } else {
Sdk.ins.isPaymentReady((ready) => {
if (ready) {//payment ready
this.shopButtonNode.active = true;
@@ -142,7 +151,7 @@
this.buyBallTipNode.active = (Userdata.Gem >= Global.SKIN_COST);
- if (Sdk.isToutiao){
+ if (Sdk.isToutiao) {
this.moregamesNode.active = SdkToutiao.isSupportMoreGames();
}
}
@@ -238,9 +247,9 @@
onClickShare() {
SoundManager.playButton();
- if (Sdk.isToutiao){
+ if (Sdk.isToutiao) {
SdkToutiao.share();
- }else{
+ } else {
let screenShot = cc.find('ScreenShot');
if (screenShot) {
cc.log('menu share found screenshot');
@@ -252,23 +261,23 @@
}
}
- onClickMoreGames(){
+ onClickMoreGames() {
SoundManager.playButton();
- if (Sdk.isToutiao){
+ if (Sdk.isToutiao) {
SdkToutiao.showMoreGames();
}
}
- onClickFollow(){
+ onClickFollow() {
SoundManager.playButton();
- if (Sdk.isToutiao){
+ if (Sdk.isToutiao) {
SdkToutiao.showFollow();
}
}
- onClickShortcut(){
+ onClickShortcut() {
SoundManager.playButton();
- if (Sdk.isToutiao){
+ if (Sdk.isToutiao) {
SdkToutiao.addShortcut();
}
}
diff --git a/settings/huawei-runtime.json b/settings/huawei-runtime.json
index 4e0cba9..1f846a5 100644
--- a/settings/huawei-runtime.json
+++ b/settings/huawei-runtime.json
@@ -17,8 +17,8 @@
"tinyPackageMode": true,
"tinyPackageServer": "",
"useDebugKey": false,
- "versionCode": "1",
- "versionName": "1.0.1",
+ "versionCode": "2",
+ "versionName": "1.0.2",
"packFirstScreenRes": false,
"separateEngineMode": false
}
diff --git a/settings/project.json b/settings/project.json
index dbd93e4..6736462 100644
--- a/settings/project.json
+++ b/settings/project.json
@@ -99,7 +99,7 @@
"board",
"bottom"
],
- "last-module-event-record-time": 1761787894237,
+ "last-module-event-record-time": 1762610187108,
"simulator-orientation": false,
"simulator-resolution": {
"height": 640,
--
Gitblit v1.9.1