Modal windows

This commit is contained in:
Martin
2022-12-21 14:08:49 +01:00
parent b4abb4df21
commit f3eb520300
25 changed files with 5287 additions and 263 deletions

View File

@@ -24,11 +24,11 @@
"_active": true,
"_components": [],
"_prefab": {
"__id__": 36
"__id__": 44
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 37
"__id__": 45
},
"_id": "1a3bccb5-bbb7-4058-846c-ed41b52415b0"
},
@@ -159,21 +159,24 @@
},
{
"__id__": 29
},
{
"__id__": 37
}
],
"_active": true,
"_components": [
{
"__id__": 32
"__id__": 40
},
{
"__id__": 33
"__id__": 41
},
{
"__id__": 34
"__id__": 42
},
{
"__id__": 35
"__id__": 43
}
],
"_prefab": null,
@@ -463,7 +466,7 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"width": 150,
"height": 40
},
"_anchorPoint": {
@@ -616,7 +619,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -47,
"y": -50,
"z": 0
},
"_lrot": {
@@ -757,7 +760,7 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"width": 150,
"height": 40
},
"_anchorPoint": {
@@ -879,6 +882,300 @@
"__prefab": null,
"_id": "17dRwdDH1DH7KDpkjt3c0f"
},
{
"__type__": "cc.Node",
"_name": "AudioSettingsBtn",
"_objFlags": 0,
"_parent": {
"__id__": 10
},
"_children": [
{
"__id__": 30
}
],
"_active": true,
"_components": [
{
"__id__": 33
},
{
"__id__": 34
},
{
"__id__": 35
},
{
"__id__": 36
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -150,
"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": "0c5QLzfeJIPogjKOYmZj7M"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 31
},
{
"__id__": 32
}
],
"_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": "06dRHYuFFP/a/o39V6kbbw"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 130,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "d1d/N7z/tJe6M98lBL8FK6"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_string": "Audio Settings",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 20,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 1,
"_enableWrapText": false,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_id": "0foNkZgxJJWKhv+kjV9A9W"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "7bkG6d1QxEc70rQblThaFd"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "adjFoug+ZHY7G2QNG0o7tk"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"__prefab": null,
"clickEvents": [],
"_interactable": true,
"_transition": 2,
"_normalColor": {
"__type__": "cc.Color",
"r": 214,
"g": 214,
"b": 214,
"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": {
"__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_hoverSprite": {
"__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_pressedSprite": {
"__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_disabledSprite": {
"__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": {
"__id__": 29
},
"_id": "83MUZ70BBPoqpCJzA3nVTN"
},
{
"__type__": "55e5f5nQ8dHiL5fPWjgdXbH",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"__prefab": null,
"_id": "32FMfxdN1Auo3dMG2+/Ftl"
},
{
"__type__": "cc.Node",
"_name": "ModalWindowManager",
@@ -890,10 +1187,10 @@
"_active": true,
"_components": [
{
"__id__": 30
"__id__": 38
},
{
"__id__": 31
"__id__": 39
}
],
"_prefab": null,
@@ -930,7 +1227,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
"__id__": 37
},
"_enabled": true,
"__prefab": null,
@@ -951,7 +1248,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
"__id__": 37
},
"_enabled": true,
"__prefab": null,
@@ -959,6 +1256,10 @@
{
"__uuid__": "0b35c4ba-253d-4316-ad01-0ba40a2612fc",
"__expectedType__": "cc.Prefab"
},
{
"__uuid__": "9f66fba0-82b2-481c-835d-41cb87f38d87",
"__expectedType__": "cc.Prefab"
}
],
"_id": "16B4Ez0O1Ob7mNngLSL2Y/"
@@ -1043,8 +1344,11 @@
"upgradeBtn": {
"__id__": 28
},
"audioSettingsBtn": {
"__id__": 36
},
"modalWindowManager": {
"__id__": 31
"__id__": 39
},
"_id": "4cQFnvx1xB65sFsTPGRrB7"
},
@@ -1060,19 +1364,19 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 38
"__id__": 46
},
"shadows": {
"__id__": 39
"__id__": 47
},
"_skybox": {
"__id__": 40
"__id__": 48
},
"fog": {
"__id__": 41
"__id__": 49
},
"octree": {
"__id__": 42
"__id__": 50
}
},
{