Commit 7851970a authored by unknown's avatar unknown

锯齿数独改好了

parent 3ab4dced
...@@ -27,11 +27,11 @@ ...@@ -27,11 +27,11 @@
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 156 "__id__": 176
}, },
"autoReleaseAssets": false, "autoReleaseAssets": false,
"_globals": { "_globals": {
"__id__": 157 "__id__": 177
}, },
"_id": "2fa5cb6f-32a4-47a2-afd9-b6c3532d1301" "_id": "2fa5cb6f-32a4-47a2-afd9-b6c3532d1301"
}, },
...@@ -211,25 +211,25 @@ ...@@ -211,25 +211,25 @@
"__id__": 16 "__id__": 16
}, },
{ {
"__id__": 108 "__id__": 128
}, },
{ {
"__id__": 131 "__id__": 151
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 149 "__id__": 169
}, },
{ {
"__id__": 151 "__id__": 171
}, },
{ {
"__id__": 153 "__id__": 173
}, },
{ {
"__id__": 155 "__id__": 175
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -317,7 +317,7 @@ ...@@ -317,7 +317,7 @@
"_priority": 1073741824, "_priority": 1073741824,
"_fov": 45, "_fov": 45,
"_fovAxis": 0, "_fovAxis": 0,
"_orthoHeight": 375, "_orthoHeight": 375.00000000000006,
"_near": 1, "_near": 1,
"_far": 2000, "_far": 2000,
"_color": { "_color": {
...@@ -510,19 +510,19 @@ ...@@ -510,19 +510,19 @@
"__id__": 22 "__id__": 22
}, },
{ {
"__id__": 49 "__id__": 69
}, },
{ {
"__id__": 91 "__id__": 111
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 106 "__id__": 126
}, },
{ {
"__id__": 107 "__id__": 127
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -681,24 +681,27 @@ ...@@ -681,24 +681,27 @@
"_children": [ "_children": [
{ {
"__id__": 23 "__id__": 23
},
{
"__id__": 44
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 44 "__id__": 64
}, },
{ {
"__id__": 46 "__id__": 66
}, },
{ {
"__id__": 48 "__id__": 68
} }
], ],
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 40,
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
...@@ -754,7 +757,7 @@ ...@@ -754,7 +757,7 @@
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": -40,
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
...@@ -1286,170 +1289,37 @@ ...@@ -1286,170 +1289,37 @@
"handler": "onFillNumClick", "handler": "onFillNumClick",
"customEventData": "" "customEventData": ""
}, },
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 45
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "2fJXOKv4lLM7koO98qlpNW"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "71F9vsVsZH7ZFd+PpN0azA"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 47
},
"_resizeMode": 1,
"_layoutType": 1,
"_cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_startAxis": 0,
"_paddingLeft": 0,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 20,
"_spacingY": 0,
"_verticalDirection": 1,
"_horizontalDirection": 0,
"_constraint": 0,
"_constraintNum": 2,
"_affectedByScale": false,
"_isAlign": false,
"_id": "7bQU8Lg5lL1pT1L2aMgjy8"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "eaGEkmlCpANK+GS6CImtZa"
},
{
"__type__": "cc.ToggleContainer",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": null,
"_allowSwitchOff": false,
"checkEvents": [],
"_id": "4f+bOA+qFMCKommrFtbBHa"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "stationeryOptsNode", "_name": "hideTog",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 16 "__id__": 22
}, },
"_children": [ "_children": [
{ {
"__id__": 50 "__id__": 45
},
{
"__id__": 69
}
],
"_active": true,
"_components": [
{
"__id__": 88
},
{
"__id__": 89
},
{
"__id__": 90
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -100,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "33qzcIdkpB3ruGdzsSWYPE"
},
{
"__type__": "cc.Node",
"_name": "pencilTog",
"_objFlags": 0,
"_parent": {
"__id__": 49
}, },
"_children": [
{ {
"__id__": 51 "__id__": 51
}, },
{ {
"__id__": 56 "__id__": 57
},
{
"__id__": 61
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 66 "__id__": 62
}, },
{ {
"__id__": 67 "__id__": 63
} }
], ],
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -55, "x": 40,
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
...@@ -1466,30 +1336,33 @@ ...@@ -1466,30 +1336,33 @@
"y": 1, "y": 1,
"z": 1 "z": 1
}, },
"_layer": 33554432, "_layer": 1073741824,
"_euler": { "_euler": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
"_id": "91J+TLDCRKg5DGfciLKCKF" "_id": "3atK0bKZZGNqbZYqYyyvsA"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bottomSpr", "_name": "bottomSpr",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 50 "__id__": 44
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 52 "__id__": 46
}, },
{ {
"__id__": 54 "__id__": 48
},
{
"__id__": 50
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1512,37 +1385,37 @@ ...@@ -1512,37 +1385,37 @@
"y": 1, "y": 1,
"z": 1 "z": 1
}, },
"_layer": 33554432, "_layer": 1073741824,
"_euler": { "_euler": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
"_id": "09Sa1S0klPsKzuVcKoHw2o" "_id": "38e9LY9tJH95spnOl0up6y"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 51 "__id__": 45
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 53 "__id__": 47
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 80, "width": 60,
"height": 80 "height": 60
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_id": "9a8aQjvNJMN62Ztq8s2t7s" "_id": "11wRfW1j9Fj4PnpV8dXJy+"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
...@@ -1553,11 +1426,11 @@ ...@@ -1553,11 +1426,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 51 "__id__": 45
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 55 "__id__": 49
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -1587,27 +1460,59 @@ ...@@ -1587,27 +1460,59 @@
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": false,
"_atlas": null, "_atlas": null,
"_id": "17at29lgJAd6r1+Q9/TL6S" "_id": "7a9IkOF/1NBrhXu30+KX1e"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "20UGQn4U9GUoln0NJQTkbG" "fileId": "20UGQn4U9GUoln0NJQTkbG"
}, },
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "3cj+44rYNK8LED7WDmvPr7"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "topSpr", "_name": "topSpr",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 50 "__id__": 44
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 57 "__id__": 52
}, },
{ {
"__id__": 59 "__id__": 54
},
{
"__id__": 56
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1630,37 +1535,37 @@ ...@@ -1630,37 +1535,37 @@
"y": 1, "y": 1,
"z": 1 "z": 1
}, },
"_layer": 33554432, "_layer": 1073741824,
"_euler": { "_euler": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
"_id": "07gqafwgZK+aQ2W8VeTwCv" "_id": "6fMrfncjZOtIfCqyIcC+SP"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 56 "__id__": 51
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 58 "__id__": 53
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 80, "width": 60,
"height": 80 "height": 60
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_id": "94khH11/xJariyYBmEyIrH" "_id": "395KZduj1CapohRtINNyiJ"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
...@@ -1671,11 +1576,657 @@ ...@@ -1671,11 +1576,657 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 56 "__id__": 51
},
"_enabled": true,
"__prefab": {
"__id__": 55
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 214,
"b": 102,
"a": 255
},
"_spriteFrame": {
"__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "730dEQdzpJ7oNIJJBnoKu7"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "20UGQn4U9GUoln0NJQTkbG"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "08OmLNkdRE6YgSkUq98F7L"
},
{
"__type__": "cc.Node",
"_name": "numLab",
"_objFlags": 0,
"_parent": {
"__id__": 44
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 58
},
{
"__id__": 60
}
],
"_prefab": null,
"_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": 1,
"y": 1,
"z": 1
},
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "83oqc0bnRMnbyT0bT1LW75"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
},
"_enabled": true,
"__prefab": {
"__id__": 59
},
"_contentSize": {
"__type__": "cc.Size",
"width": 22.25,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "94LcCXe3RJ4ba/tl1A0v50"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
},
"_enabled": true,
"__prefab": {
"__id__": 61
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "1",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_id": "e9v/6qUQFGyJuKvNx1NJQP"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2frm37uaJHQr0AEEaYyM82"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "17dGfJ4tpHyqs82Iv+r7Yi"
},
{
"__type__": "cc.Toggle",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_enabled": true,
"__prefab": null,
"clickEvents": [],
"_interactable": true,
"_transition": 0,
"_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,
"checkEvents": [],
"_isChecked": false,
"_checkMark": {
"__id__": 54
},
"_id": "9fHXwI9+FEjLGNm8lyzQlS"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 65
},
"_contentSize": {
"__type__": "cc.Size",
"width": 140,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "2fJXOKv4lLM7koO98qlpNW"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "71F9vsVsZH7ZFd+PpN0azA"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 67
},
"_resizeMode": 1,
"_layoutType": 1,
"_cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_startAxis": 0,
"_paddingLeft": 0,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 20,
"_spacingY": 0,
"_verticalDirection": 1,
"_horizontalDirection": 0,
"_constraint": 0,
"_constraintNum": 2,
"_affectedByScale": false,
"_isAlign": false,
"_id": "7bQU8Lg5lL1pT1L2aMgjy8"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "eaGEkmlCpANK+GS6CImtZa"
},
{
"__type__": "cc.ToggleContainer",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": null,
"_allowSwitchOff": false,
"checkEvents": [],
"_id": "4f+bOA+qFMCKommrFtbBHa"
},
{
"__type__": "cc.Node",
"_name": "stationeryOptsNode",
"_objFlags": 0,
"_parent": {
"__id__": 16
},
"_children": [
{
"__id__": 70
},
{
"__id__": 89
}
],
"_active": true,
"_components": [
{
"__id__": 108
},
{
"__id__": 109
},
{
"__id__": 110
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -100,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "33qzcIdkpB3ruGdzsSWYPE"
},
{
"__type__": "cc.Node",
"_name": "pencilTog",
"_objFlags": 0,
"_parent": {
"__id__": 69
},
"_children": [
{
"__id__": 71
},
{
"__id__": 76
},
{
"__id__": 81
}
],
"_active": false,
"_components": [
{
"__id__": 86
},
{
"__id__": 87
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": -55,
"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
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "91J+TLDCRKg5DGfciLKCKF"
},
{
"__type__": "cc.Node",
"_name": "bottomSpr",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 72
},
{
"__id__": 74
}
],
"_prefab": null,
"_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": 1,
"y": 1,
"z": 1
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "09Sa1S0klPsKzuVcKoHw2o"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 60 "__id__": 73
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "9a8aQjvNJMN62Ztq8s2t7s"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "55pCbtzR5GbojKMArZkfim"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
},
"_enabled": true,
"__prefab": {
"__id__": 75
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 30,
"g": 37,
"b": 51,
"a": 255
},
"_spriteFrame": {
"__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "17at29lgJAd6r1+Q9/TL6S"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "20UGQn4U9GUoln0NJQTkbG"
},
{
"__type__": "cc.Node",
"_name": "topSpr",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 77
},
{
"__id__": 79
}
],
"_prefab": null,
"_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": 1,
"y": 1,
"z": 1
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "07gqafwgZK+aQ2W8VeTwCv"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
},
"_enabled": true,
"__prefab": {
"__id__": 78
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "94khH11/xJariyYBmEyIrH"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "55pCbtzR5GbojKMArZkfim"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
},
"_enabled": true,
"__prefab": {
"__id__": 80
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -1716,16 +2267,16 @@ ...@@ -1716,16 +2267,16 @@
"_name": "图标_铅笔", "_name": "图标_铅笔",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 50 "__id__": 70
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 62 "__id__": 82
}, },
{ {
"__id__": 64 "__id__": 84
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1762,11 +2313,11 @@ ...@@ -1762,11 +2313,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 61 "__id__": 81
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 63 "__id__": 83
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -1789,11 +2340,11 @@ ...@@ -1789,11 +2340,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 61 "__id__": 81
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 65 "__id__": 85
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -1834,7 +2385,7 @@ ...@@ -1834,7 +2385,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 50 "__id__": 70
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -1855,13 +2406,13 @@ ...@@ -1855,13 +2406,13 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 50 "__id__": 70
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 68 "__id__": 88
} }
], ],
"_interactable": true, "_interactable": true,
...@@ -1904,7 +2455,7 @@ ...@@ -1904,7 +2455,7 @@
"checkEvents": [], "checkEvents": [],
"_isChecked": true, "_isChecked": true,
"_checkMark": { "_checkMark": {
"__id__": 59 "__id__": 79
}, },
"_id": "2bXxKct5dNYaELLek1Ohlc" "_id": "2bXxKct5dNYaELLek1Ohlc"
}, },
...@@ -1923,32 +2474,32 @@ ...@@ -1923,32 +2474,32 @@
"_name": "eraserTog", "_name": "eraserTog",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 49 "__id__": 69
}, },
"_children": [ "_children": [
{ {
"__id__": 70 "__id__": 90
}, },
{ {
"__id__": 75 "__id__": 95
}, },
{ {
"__id__": 80 "__id__": 100
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 85 "__id__": 105
}, },
{ {
"__id__": 86 "__id__": 106
} }
], ],
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 55, "x": 0,
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
...@@ -1979,16 +2530,16 @@ ...@@ -1979,16 +2530,16 @@
"_name": "bottomSpr", "_name": "bottomSpr",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 69 "__id__": 89
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 71 "__id__": 91
}, },
{ {
"__id__": 73 "__id__": 93
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2025,11 +2576,11 @@ ...@@ -2025,11 +2576,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 70 "__id__": 90
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 72 "__id__": 92
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -2052,11 +2603,11 @@ ...@@ -2052,11 +2603,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 70 "__id__": 90
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 74 "__id__": 94
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -2097,16 +2648,16 @@ ...@@ -2097,16 +2648,16 @@
"_name": "topSpr", "_name": "topSpr",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 69 "__id__": 89
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 76 "__id__": 96
}, },
{ {
"__id__": 78 "__id__": 98
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2143,11 +2694,11 @@ ...@@ -2143,11 +2694,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 75 "__id__": 95
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 77 "__id__": 97
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -2170,11 +2721,11 @@ ...@@ -2170,11 +2721,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 75 "__id__": 95
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 79 "__id__": 99
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -2215,16 +2766,16 @@ ...@@ -2215,16 +2766,16 @@
"_name": "图标_橡皮", "_name": "图标_橡皮",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 69 "__id__": 89
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 81 "__id__": 101
}, },
{ {
"__id__": 83 "__id__": 103
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2261,11 +2812,11 @@ ...@@ -2261,11 +2812,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 80 "__id__": 100
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 82 "__id__": 102
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -2288,11 +2839,11 @@ ...@@ -2288,11 +2839,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 80 "__id__": 100
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 84 "__id__": 104
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -2333,7 +2884,7 @@ ...@@ -2333,7 +2884,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 69 "__id__": 89
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -2354,13 +2905,13 @@ ...@@ -2354,13 +2905,13 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 69 "__id__": 89
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 87 "__id__": 107
} }
], ],
"_interactable": true, "_interactable": true,
...@@ -2403,7 +2954,7 @@ ...@@ -2403,7 +2954,7 @@
"checkEvents": [], "checkEvents": [],
"_isChecked": false, "_isChecked": false,
"_checkMark": { "_checkMark": {
"__id__": 78 "__id__": 98
}, },
"_id": "dc9N39Rv1DEq46TRlLo8uT" "_id": "dc9N39Rv1DEq46TRlLo8uT"
}, },
...@@ -2422,13 +2973,13 @@ ...@@ -2422,13 +2973,13 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 49 "__id__": 69
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 190, "width": 80,
"height": 80 "height": 80
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -2443,7 +2994,7 @@ ...@@ -2443,7 +2994,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 49 "__id__": 69
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -2474,9 +3025,9 @@ ...@@ -2474,9 +3025,9 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 49 "__id__": 69
}, },
"_enabled": true, "_enabled": false,
"__prefab": null, "__prefab": null,
"_allowSwitchOff": false, "_allowSwitchOff": false,
"checkEvents": [], "checkEvents": [],
...@@ -2491,19 +3042,19 @@ ...@@ -2491,19 +3042,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 92 "__id__": 112
}, },
{ {
"__id__": 97 "__id__": 117
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 102 "__id__": 122
}, },
{ {
"__id__": 104 "__id__": 124
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2540,16 +3091,16 @@ ...@@ -2540,16 +3091,16 @@
"_name": "bgSpr", "_name": "bgSpr",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 91 "__id__": 111
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 93 "__id__": 113
}, },
{ {
"__id__": 95 "__id__": 115
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2586,11 +3137,11 @@ ...@@ -2586,11 +3137,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 92 "__id__": 112
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 94 "__id__": 114
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -2613,11 +3164,11 @@ ...@@ -2613,11 +3164,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 92 "__id__": 112
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 96 "__id__": 116
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -2658,16 +3209,16 @@ ...@@ -2658,16 +3209,16 @@
"_name": "Label", "_name": "Label",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 91 "__id__": 111
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 98 "__id__": 118
}, },
{ {
"__id__": 100 "__id__": 120
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2704,11 +3255,11 @@ ...@@ -2704,11 +3255,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 97 "__id__": 117
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 99 "__id__": 119
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -2731,11 +3282,11 @@ ...@@ -2731,11 +3282,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 97 "__id__": 117
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 101 "__id__": 121
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -2775,11 +3326,11 @@ ...@@ -2775,11 +3326,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 91 "__id__": 111
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 103 "__id__": 123
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -2802,13 +3353,13 @@ ...@@ -2802,13 +3353,13 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 91 "__id__": 111
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 105 "__id__": 125
} }
], ],
"_interactable": true, "_interactable": true,
...@@ -2919,22 +3470,22 @@ ...@@ -2919,22 +3470,22 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 109 "__id__": 129
}, },
{ {
"__id__": 115 "__id__": 135
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 126 "__id__": 146
}, },
{ {
"__id__": 128 "__id__": 148
}, },
{ {
"__id__": 130 "__id__": 150
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2971,19 +3522,19 @@ ...@@ -2971,19 +3522,19 @@
"_name": "名称框", "_name": "名称框",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 108 "__id__": 128
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 110 "__id__": 130
}, },
{ {
"__id__": 112 "__id__": 132
}, },
{ {
"__id__": 114 "__id__": 134
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3020,11 +3571,11 @@ ...@@ -3020,11 +3571,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 109 "__id__": 129
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 111 "__id__": 131
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -3047,11 +3598,11 @@ ...@@ -3047,11 +3598,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 109 "__id__": 129
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 113 "__id__": 133
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -3092,7 +3643,7 @@ ...@@ -3092,7 +3643,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 109 "__id__": 129
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -3121,23 +3672,23 @@ ...@@ -3121,23 +3672,23 @@
"_name": "时间框", "_name": "时间框",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 108 "__id__": 128
}, },
"_children": [ "_children": [
{ {
"__id__": 116 "__id__": 136
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 121 "__id__": 141
}, },
{ {
"__id__": 123 "__id__": 143
}, },
{ {
"__id__": 125 "__id__": 145
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3174,16 +3725,16 @@ ...@@ -3174,16 +3725,16 @@
"_name": "timeLab", "_name": "timeLab",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 115 "__id__": 135
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 117 "__id__": 137
}, },
{ {
"__id__": 119 "__id__": 139
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3220,11 +3771,11 @@ ...@@ -3220,11 +3771,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 116 "__id__": 136
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 118 "__id__": 138
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -3247,11 +3798,11 @@ ...@@ -3247,11 +3798,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 116 "__id__": 136
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 120 "__id__": 140
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -3291,11 +3842,11 @@ ...@@ -3291,11 +3842,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 115 "__id__": 135
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 122 "__id__": 142
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -3318,11 +3869,11 @@ ...@@ -3318,11 +3869,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 115 "__id__": 135
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 124 "__id__": 144
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -3363,7 +3914,7 @@ ...@@ -3363,7 +3914,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 115 "__id__": 135
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -3392,11 +3943,11 @@ ...@@ -3392,11 +3943,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 108 "__id__": 128
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 127 "__id__": 147
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -3419,11 +3970,11 @@ ...@@ -3419,11 +3970,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 108 "__id__": 128
}, },
"_enabled": false, "_enabled": false,
"__prefab": { "__prefab": {
"__id__": 129 "__id__": 149
}, },
"_resizeMode": 1, "_resizeMode": 1,
"_layoutType": 1, "_layoutType": 1,
...@@ -3456,7 +4007,7 @@ ...@@ -3456,7 +4007,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 108 "__id__": 128
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -3489,28 +4040,28 @@ ...@@ -3489,28 +4040,28 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 132 "__id__": 152
}, },
{ {
"__id__": 137 "__id__": 157
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 142 "__id__": 162
}, },
{ {
"__id__": 144 "__id__": 164
}, },
{ {
"__id__": 146 "__id__": 166
} }
], ],
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 482.278, "x": 456.278,
"y": 211.904, "y": 211.904,
"z": 0 "z": 0
}, },
...@@ -3541,16 +4092,16 @@ ...@@ -3541,16 +4092,16 @@
"_name": "bgSpr", "_name": "bgSpr",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 131 "__id__": 151
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 133 "__id__": 153
}, },
{ {
"__id__": 135 "__id__": 155
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3587,11 +4138,11 @@ ...@@ -3587,11 +4138,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 132 "__id__": 152
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 134 "__id__": 154
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -3614,11 +4165,11 @@ ...@@ -3614,11 +4165,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 132 "__id__": 152
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 136 "__id__": 156
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -3659,16 +4210,16 @@ ...@@ -3659,16 +4210,16 @@
"_name": "Label", "_name": "Label",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 131 "__id__": 151
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 138 "__id__": 158
}, },
{ {
"__id__": 140 "__id__": 160
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3705,11 +4256,11 @@ ...@@ -3705,11 +4256,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 137 "__id__": 157
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 139 "__id__": 159
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -3732,11 +4283,11 @@ ...@@ -3732,11 +4283,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 137 "__id__": 157
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 141 "__id__": 161
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -3776,11 +4327,11 @@ ...@@ -3776,11 +4327,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 131 "__id__": 151
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 143 "__id__": 163
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -3803,16 +4354,16 @@ ...@@ -3803,16 +4354,16 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 131 "__id__": 151
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 145 "__id__": 165
}, },
"_alignFlags": 33, "_alignFlags": 33,
"_target": null, "_target": null,
"_left": 0, "_left": 0,
"_right": 104.72199999999998, "_right": 130.72199999999998,
"_top": 133.096, "_top": 133.096,
"_bottom": 0, "_bottom": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
...@@ -3838,15 +4389,15 @@ ...@@ -3838,15 +4389,15 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 131 "__id__": 151
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 147 "__id__": 167
}, },
"clickEvents": [ "clickEvents": [
{ {
"__id__": 148 "__id__": 168
} }
], ],
"_interactable": true, "_interactable": true,
...@@ -3911,7 +4462,7 @@ ...@@ -3911,7 +4462,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 150 "__id__": 170
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -3938,7 +4489,7 @@ ...@@ -3938,7 +4489,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 152 "__id__": 172
}, },
"_cameraComponent": { "_cameraComponent": {
"__id__": 9 "__id__": 9
...@@ -3959,7 +4510,7 @@ ...@@ -3959,7 +4510,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 154 "__id__": 174
}, },
"_alignFlags": 45, "_alignFlags": 45,
"_target": null, "_target": null,
...@@ -3998,12 +4549,18 @@ ...@@ -3998,12 +4549,18 @@
"__id__": 22 "__id__": 22
}, },
"countdownLab": { "countdownLab": {
"__id__": 119 "__id__": 139
}, },
"remainLab": { "remainLab": {
"__id__": 20 "__id__": 20
}, },
"totalTime": 100, "totalTime": 100,
"hideTog": {
"__id__": 63
},
"eraserTog": {
"__id__": 106
},
"_id": "dbxV4XT8pIYbgLw0VIxwni" "_id": "dbxV4XT8pIYbgLw0VIxwni"
}, },
{ {
...@@ -4014,16 +4571,16 @@ ...@@ -4014,16 +4571,16 @@
{ {
"__type__": "cc.SceneGlobals", "__type__": "cc.SceneGlobals",
"ambient": { "ambient": {
"__id__": 158 "__id__": 178
}, },
"shadows": { "shadows": {
"__id__": 159 "__id__": 179
}, },
"_skybox": { "_skybox": {
"__id__": 160 "__id__": 180
}, },
"fog": { "fog": {
"__id__": 161 "__id__": 181
} }
}, },
{ {
......
import { _decorator, Component, Node, instantiate, Button, Toggle, Label, director, CCFloat } from 'cc'; import { _decorator, Component, Node, instantiate, Button, Toggle, Label, director, CCFloat, find } from 'cc';
import { countdownMus, failMus, succMus } from '../../../../startFolder/script/common/AudioDef'; import { countdownMus, failMus, succMus } from '../../../../startFolder/script/common/AudioDef';
import { AudioMgr } from '../../../../startFolder/script/common/AudioMgr'; import { AudioMgr } from '../../../../startFolder/script/common/AudioMgr';
import { Utils } from '../../../../startFolder/script/common/Utils'; import { Utils } from '../../../../startFolder/script/common/Utils';
...@@ -37,6 +37,12 @@ export class SudokuCtr extends Component { ...@@ -37,6 +37,12 @@ export class SudokuCtr extends Component {
@property(CCFloat) @property(CCFloat)
totalTime: number = 0; totalTime: number = 0;
@property(Toggle)
hideTog: Toggle = null!;
@property(Toggle)
eraserTog: Toggle = null!;
private gameState = GAME_STATE.READY; private gameState = GAME_STATE.READY;
private fillNum = 1; private fillNum = 1;
private sqr = 5; private sqr = 5;
...@@ -142,6 +148,7 @@ export class SudokuCtr extends Component { ...@@ -142,6 +148,7 @@ export class SudokuCtr extends Component {
} }
setNumTogs() { setNumTogs() {
this.hideTog.node.parent = find("Canvas");
while (this.numOptsNode.children.length < this.sqr) { while (this.numOptsNode.children.length < this.sqr) {
this.numOptsNode.addChild(instantiate(this.numOptsNode.children[0])); this.numOptsNode.addChild(instantiate(this.numOptsNode.children[0]));
} }
...@@ -151,6 +158,7 @@ export class SudokuCtr extends Component { ...@@ -151,6 +158,7 @@ export class SudokuCtr extends Component {
this.numOptsNode.children[i].getComponentInChildren(Label)!.string = (i + 1) + ""; this.numOptsNode.children[i].getComponentInChildren(Label)!.string = (i + 1) + "";
} }
this.numOptsNode.children[0].getComponent(Toggle)!.isChecked = true; this.numOptsNode.children[0].getComponent(Toggle)!.isChecked = true;
this.hideTog.node.parent = this.numOptsNode;
} }
gameEnd(isWin: boolean) { gameEnd(isWin: boolean) {
...@@ -194,7 +202,8 @@ export class SudokuCtr extends Component { ...@@ -194,7 +202,8 @@ export class SudokuCtr extends Component {
onFillNumClick(err: any, numStr: string) { onFillNumClick(err: any, numStr: string) {
this.fillNum = Number(numStr); this.fillNum = Number(numStr);
this.onPencilClick();
this.eraserTog.isChecked = false;
} }
onPencilClick() { onPencilClick() {
...@@ -205,6 +214,7 @@ export class SudokuCtr extends Component { ...@@ -205,6 +214,7 @@ export class SudokuCtr extends Component {
onEraserClick() { onEraserClick() {
if (this.gameState != GAME_STATE.FILL) return; if (this.gameState != GAME_STATE.FILL) return;
this.gameState = GAME_STATE.ERASE; this.gameState = GAME_STATE.ERASE;
this.hideTog.isChecked = true;
} }
getLevelCfg(level: number) { getLevelCfg(level: number) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment