本地数据存取 完成

This commit is contained in:
2025-08-12 16:58:29 +08:00
parent 5dd354a86b
commit b77f023548
9 changed files with 1376 additions and 43 deletions

View File

@@ -28,19 +28,19 @@
"_active": true,
"_components": [
{
"__id__": 60
"__id__": 80
},
{
"__id__": 62
"__id__": 82
}
],
"_prefab": {
"__id__": 64
"__id__": 84
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 228.866,
"y": -411.134,
"z": 0
},
"_lrot": {
@@ -133,7 +133,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 350,
"width": 500,
"height": 50
},
"_anchorPoint": {
@@ -206,8 +206,8 @@
},
"_alignFlags": 40,
"_target": null,
"_left": 185,
"_right": 185,
"_left": 110,
"_right": 110,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
@@ -255,22 +255,25 @@
},
{
"__id__": 33
},
{
"__id__": 53
}
],
"_active": true,
"_components": [
{
"__id__": 53
"__id__": 73
},
{
"__id__": 55
"__id__": 75
},
{
"__id__": 57
"__id__": 77
}
],
"_prefab": {
"__id__": 59
"__id__": 79
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -303,7 +306,7 @@
},
{
"__type__": "cc.Node",
"_name": "coins",
"_name": "gold",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -328,7 +331,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -135,
"x": -210,
"y": 0,
"z": 0
},
@@ -796,7 +799,7 @@
},
{
"__type__": "cc.Node",
"_name": "count",
"_name": "diamond",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -821,7 +824,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 15,
"x": -60,
"y": 0,
"z": 0
},
@@ -949,7 +952,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@a139a",
"__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@d2cb1",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
@@ -1185,7 +1188,7 @@
"__id__": 48
},
"templateMode": false,
"watchPath": "data.mission_data.refresh_count",
"watchPath": "data.mission_data.diamond",
"labelType": "cc.Label",
"watchPathArr": [],
"_id": ""
@@ -1248,6 +1251,460 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "mission",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 10
},
"_children": [
{
"__id__": 54
},
{
"__id__": 60
}
],
"_active": true,
"_components": [
{
"__id__": 70
}
],
"_prefab": {
"__id__": 72
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 90,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "ItemIcon_Ticket_Gold",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 55
},
{
"__id__": 57
}
],
"_prefab": {
"__id__": 59
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.4,
"y": 0.4,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 54
},
"_enabled": true,
"__prefab": {
"__id__": 56
},
"_contentSize": {
"__type__": "cc.Size",
"width": 128,
"height": 128
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0bB3zZ4dRDAqckiAeaH3a8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 54
},
"_enabled": true,
"__prefab": {
"__id__": 58
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@b5bcd",
"__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": "283ljlJt1ICabEFFX7+vtD"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "4bEXCSzrhDvIKuKpLUbW2V",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "num",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 61
},
{
"__id__": 63
},
{
"__id__": 65
},
{
"__id__": 67
}
],
"_prefab": {
"__id__": 69
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 5,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": {
"__id__": 62
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 35
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "db/+ZGLsJBOpreykUIsriR"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": {
"__id__": 64
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "9999",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 30,
"_fontSize": 30,
"_fontFamily": "Arial",
"_lineHeight": 35,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "33IeCHamJLbZ2z7YvlZ1hl"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": {
"__id__": 66
},
"_alignFlags": 18,
"_target": null,
"_left": -15,
"_right": -15,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": -30,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 80,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3eDcZZ0whHTbStotzvqfOU"
},
{
"__type__": "545c05XsG9GDJispEGWKvYv",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": {
"__id__": 68
},
"templateMode": false,
"watchPath": "data.mission_data.mission",
"labelType": "cc.Label",
"watchPathArr": [],
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "cfPUkHtUhI7Y5+UR0EDVbP"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "afTcUOWMlBNZLOa/fdmAKQ",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 53
},
"_enabled": true,
"__prefab": {
"__id__": 71
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a6y+skfR9JZYlL793MIc3i"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "ffUnmXtAJH9KA/mdbakTgi",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -1258,11 +1715,11 @@
},
"_enabled": true,
"__prefab": {
"__id__": 54
"__id__": 74
},
"_contentSize": {
"__type__": "cc.Size",
"width": 330,
"width": 480,
"height": 100
},
"_anchorPoint": {
@@ -1286,7 +1743,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 56
"__id__": 76
},
"_alignFlags": 16,
"_target": null,
@@ -1322,7 +1779,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 58
"__id__": 78
},
"_resizeMode": 1,
"_layoutType": 1,
@@ -1373,7 +1830,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 61
"__id__": 81
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1401,7 +1858,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 63
"__id__": 83
},
"_alignFlags": 44,
"_target": null,
@@ -1436,6 +1893,7 @@
"__id__": 0
},
"fileId": "c9POIiGDRD145GjODqam/b",
"instance": null,
"targetOverrides": null
}
]