diff --git a/assets/Prefabs/ErrorButtonPrefab.prefab b/assets/Prefabs/ErrorButtonPrefab.prefab index 4cf4128..6a02069 100644 --- a/assets/Prefabs/ErrorButtonPrefab.prefab +++ b/assets/Prefabs/ErrorButtonPrefab.prefab @@ -170,13 +170,13 @@ "_dstBlendFactor": 4, "_color": { "__type__": "cc.Color", - "r": 214, - "g": 214, - "b": 214, - "a": 0 + "r": 255, + "g": 255, + "b": 255, + "a": 255 }, "_spriteFrame": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__uuid__": "987794f8-c597-4400-9d3b-2849b7110099@f9941", "__expectedType__": "cc.SpriteFrame" }, "_type": 1, @@ -212,13 +212,13 @@ }, "clickEvents": [], "_interactable": true, - "_transition": 1, + "_transition": 2, "_normalColor": { "__type__": "cc.Color", "r": 214, "g": 214, "b": 214, - "a": 0 + "a": 255 }, "_hoverColor": { "__type__": "cc.Color", @@ -242,7 +242,7 @@ "a": 255 }, "_normalSprite": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__uuid__": "987794f8-c597-4400-9d3b-2849b7110099@f9941", "__expectedType__": "cc.SpriteFrame" }, "_hoverSprite": { diff --git a/assets/Prefabs/ItemPrefab.prefab b/assets/Prefabs/ItemPrefab.prefab index b929a75..6323c6e 100644 --- a/assets/Prefabs/ItemPrefab.prefab +++ b/assets/Prefabs/ItemPrefab.prefab @@ -26,25 +26,22 @@ }, { "__id__": 16 - }, - { - "__id__": 22 } ], "_active": true, "_components": [ { - "__id__": 36 + "__id__": 30 }, { - "__id__": 38 + "__id__": 32 }, { - "__id__": 40 + "__id__": 34 } ], "_prefab": { - "__id__": 42 + "__id__": 36 }, "_lpos": { "__type__": "cc.Vec3", @@ -173,16 +170,16 @@ "_dstBlendFactor": 4, "_color": { "__type__": "cc.Color", - "r": 214, - "g": 214, - "b": 214, - "a": 0 + "r": 255, + "g": 255, + "b": 255, + "a": 255 }, "_spriteFrame": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__uuid__": "987794f8-c597-4400-9d3b-2849b7110099@f9941", "__expectedType__": "cc.SpriteFrame" }, - "_type": 1, + "_type": 2, "_fillType": 0, "_sizeMode": 0, "_fillCenter": { @@ -192,7 +189,7 @@ }, "_fillStart": 0, "_fillRange": 0, - "_isTrimmedMode": true, + "_isTrimmedMode": false, "_useGrayscale": false, "_atlas": null, "_id": "" @@ -215,13 +212,13 @@ }, "clickEvents": [], "_interactable": true, - "_transition": 1, + "_transition": 2, "_normalColor": { "__type__": "cc.Color", - "r": 214, - "g": 214, - "b": 214, - "a": 0 + "r": 255, + "g": 255, + "b": 255, + "a": 255 }, "_hoverColor": { "__type__": "cc.Color", @@ -245,7 +242,7 @@ "a": 255 }, "_normalSprite": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__uuid__": "987794f8-c597-4400-9d3b-2849b7110099@f9941", "__expectedType__": "cc.SpriteFrame" }, "_hoverSprite": { @@ -385,7 +382,7 @@ "a": 255 }, "_string": "button", - "_horizontalAlign": 1, + "_horizontalAlign": 0, "_verticalAlign": 1, "_actualFontSize": 14, "_fontSize": 14, @@ -446,168 +443,6 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.Node", - "_name": "Label-001", - "_objFlags": 512, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 17 - }, - { - "__id__": 19 - } - ], - "_prefab": { - "__id__": 21 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -14.094, - "y": -12.121, - "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": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 16 - }, - "_enabled": true, - "__prefab": { - "__id__": 18 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 175, - "height": 15 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "1e7o7412dCV5hX3YLwQeyc" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 16 - }, - "_enabled": true, - "__prefab": { - "__id__": 20 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 0 - }, - "_string": "button", - "_horizontalAlign": 0, - "_verticalAlign": 0, - "_actualFontSize": 12, - "_fontSize": 12, - "_fontFamily": "Arial", - "_lineHeight": 20, - "_overflow": 1, - "_enableWrapText": false, - "_font": { - "__uuid__": "ed546a4a-5231-4dfb-9c13-c1d6022cd74e", - "__expectedType__": "cc.TTFFont" - }, - "_isSystemFontUsed": false, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 2, - "_enableOutline": false, - "_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": "61G54mSwBEC76bZuWlZobr" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "8fAdewM09EmJgQtmW9WIWv", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", "_name": "ErrorNumberButton", @@ -618,23 +453,23 @@ }, "_children": [ { - "__id__": 23 + "__id__": 17 } ], "_active": true, "_components": [ { - "__id__": 29 + "__id__": 23 }, { - "__id__": 31 + "__id__": 25 }, { - "__id__": 33 + "__id__": 27 } ], "_prefab": { - "__id__": 35 + "__id__": 29 }, "_lpos": { "__type__": "cc.Vec3", @@ -671,20 +506,20 @@ "_objFlags": 512, "__editorExtras__": {}, "_parent": { - "__id__": 22 + "__id__": 16 }, "_children": [], "_active": true, "_components": [ { - "__id__": 24 + "__id__": 18 }, { - "__id__": 26 + "__id__": 20 } ], "_prefab": { - "__id__": 28 + "__id__": 22 }, "_lpos": { "__type__": "cc.Vec3", @@ -721,11 +556,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 23 + "__id__": 17 }, "_enabled": true, "__prefab": { - "__id__": 25 + "__id__": 19 }, "_contentSize": { "__type__": "cc.Size", @@ -749,11 +584,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 23 + "__id__": 17 }, "_enabled": true, "__prefab": { - "__id__": 27 + "__id__": 21 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -768,8 +603,8 @@ "_string": "34", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 12, - "_fontSize": 12, + "_actualFontSize": 14, + "_fontSize": 14, "_fontFamily": "Arial", "_lineHeight": 20, "_overflow": 1, @@ -785,7 +620,7 @@ "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 2, - "_enableOutline": true, + "_enableOutline": false, "_outlineColor": { "__type__": "cc.Color", "r": 0, @@ -833,16 +668,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 22 + "__id__": 16 }, "_enabled": true, "__prefab": { - "__id__": 30 + "__id__": 24 }, "_contentSize": { "__type__": "cc.Size", - "width": 30, - "height": 30 + "width": 36, + "height": 36 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -861,11 +696,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 22 + "__id__": 16 }, "_enabled": true, "__prefab": { - "__id__": 32 + "__id__": 26 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -878,10 +713,10 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__uuid__": "f12a23c4-b924-4322-a260-3d982428f1e8@f9941", "__expectedType__": "cc.SpriteFrame" }, - "_type": 1, + "_type": 0, "_fillType": 0, "_sizeMode": 0, "_fillCenter": { @@ -891,7 +726,7 @@ }, "_fillStart": 0, "_fillRange": 0, - "_isTrimmedMode": true, + "_isTrimmedMode": false, "_useGrayscale": false, "_atlas": null, "_id": "" @@ -906,11 +741,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 22 + "__id__": 16 }, "_enabled": true, "__prefab": { - "__id__": 34 + "__id__": 28 }, "clickEvents": [], "_interactable": true, @@ -943,26 +778,14 @@ "b": 124, "a": 0 }, - "_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" - }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 22 + "__id__": 16 }, "_id": "" }, @@ -993,12 +816,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 37 + "__id__": 31 }, "_contentSize": { "__type__": "cc.Size", "width": 215, - "height": 36 + "height": 40 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1021,7 +844,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 39 + "__id__": 33 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1063,7 +886,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 41 + "__id__": 35 }, "nameLabel": { "__id__": 13 @@ -1072,10 +895,10 @@ "__id__": 7 }, "ErrorButton": { - "__id__": 33 + "__id__": 27 }, "ErrorNumber": { - "__id__": 26 + "__id__": 20 }, "_id": "" }, diff --git a/assets/Prefabs/SensorFieldItem.prefab b/assets/Prefabs/SensorFieldItem.prefab index 0a38f9c..780e65f 100644 --- a/assets/Prefabs/SensorFieldItem.prefab +++ b/assets/Prefabs/SensorFieldItem.prefab @@ -22,26 +22,23 @@ "__id__": 2 }, { - "__id__": 8 - }, - { - "__id__": 24 + "__id__": 36 } ], "_active": true, "_components": [ { - "__id__": 30 + "__id__": 44 }, { - "__id__": 32 + "__id__": 46 }, { - "__id__": 34 + "__id__": 48 } ], "_prefab": { - "__id__": 36 + "__id__": 50 }, "_lpos": { "__type__": "cc.Vec3", @@ -72,31 +69,100 @@ }, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "HorizontalView", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 11 + }, + { + "__id__": 19 + } + ], + "_active": true, + "_components": [ + { + "__id__": 27 + }, + { + "__id__": 29 + }, + { + "__id__": 31 + }, + { + "__id__": 33 + } + ], + "_prefab": { + "__id__": 35 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 10.450000000000003, + "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": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, { "__type__": "cc.Node", "_name": "nameLabel", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1 + "__id__": 2 }, "_children": [], "_active": true, "_components": [ { - "__id__": 3 + "__id__": 4 }, { - "__id__": 5 + "__id__": 6 + }, + { + "__id__": 8 } ], "_prefab": { - "__id__": 7 + "__id__": 10 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, - "y": 19.450000000000003, + "x": -51, + "y": 0, "z": 0 }, "_lrot": { @@ -128,16 +194,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2 + "__id__": 3 }, "_enabled": true, "__prefab": { - "__id__": 4 + "__id__": 5 }, "_contentSize": { "__type__": "cc.Size", - "width": 200, - "height": 36.16 + "width": 100, + "height": 40 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -156,11 +222,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2 + "__id__": 3 }, "_enabled": true, "__prefab": { - "__id__": 6 + "__id__": 7 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -173,16 +239,16 @@ "a": 255 }, "_string": "датчик оборотов погружного насоса", - "_horizontalAlign": 1, + "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 15.5625, + "_actualFontSize": 12, "_fontSize": 12, "_fontFamily": "Arial", - "_lineHeight": 16, - "_overflow": 3, + "_lineHeight": 25, + "_overflow": 2, "_enableWrapText": true, "_font": { - "__uuid__": "a9e54af1-c8bf-458e-be92-417624468c79", + "__uuid__": "15dcb637-0f1e-42eb-b4e0-85dded133d37", "__expectedType__": "cc.TTFFont" }, "_isSystemFontUsed": false, @@ -221,6 +287,42 @@ "__type__": "cc.CompPrefabInfo", "fileId": "e1jAtPKxZIBbDT6DMaV4yg" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_alignFlags": 2, + "_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": 0, + "_originalHeight": 0, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3ctdxZzY5B7rSM0NXmHKiF" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -236,82 +338,31 @@ }, { "__type__": "cc.Node", - "_name": "HorizontalView", + "_name": "valueLabel", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 9 - }, - { - "__id__": 15 - } - ], - "_active": true, - "_components": [ - { - "__id__": 21 - } - ], - "_prefab": { - "__id__": 23 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": -8.629999999999995, - "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": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "unitLabel", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 8 + "__id__": 2 }, "_children": [], "_active": true, "_components": [ { - "__id__": 10 + "__id__": 12 }, { - "__id__": 12 + "__id__": 14 + }, + { + "__id__": 16 } ], "_prefab": { - "__id__": 14 + "__id__": 18 }, "_lpos": { "__type__": "cc.Vec3", - "x": 42.717, + "x": 25, "y": 0, "z": 0 }, @@ -344,177 +395,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 9 - }, - "_enabled": true, - "__prefab": { "__id__": 11 }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 20 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "420tr4e1FC5burJiXxAK5F" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 9 - }, "_enabled": true, "__prefab": { "__id__": 13 }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "км/ч", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 12, - "_fontSize": 14, - "_fontFamily": "Arial", - "_lineHeight": 29, - "_overflow": 2, - "_enableWrapText": true, - "_font": { - "__uuid__": "ba5d5fa9-dbcd-4b4d-bf4a-4db4ae7cae0b", - "__expectedType__": "cc.TTFFont" - }, - "_isSystemFontUsed": false, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 2, - "_enableOutline": false, - "_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": "40VyhjgAdNcYm2UkqxXEab" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "590EI61yFF37IIe1N+7yWs", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "valueLabel", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 8 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 16 - }, - { - "__id__": 18 - } - ], - "_prefab": { - "__id__": 20 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -34.294, - "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": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 15 - }, - "_enabled": true, - "__prefab": { - "__id__": 17 - }, "_contentSize": { "__type__": "cc.Size", - "width": 34.1, + "width": 50, "height": 20 }, "_anchorPoint": { @@ -534,11 +423,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 15 + "__id__": 11 }, "_enabled": true, "__prefab": { - "__id__": 19 + "__id__": 15 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -553,14 +442,14 @@ "_string": "00000", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 12, + "_actualFontSize": 14, "_fontSize": 14, "_fontFamily": "Arial", - "_lineHeight": 29, + "_lineHeight": 16, "_overflow": 2, "_enableWrapText": true, "_font": { - "__uuid__": "a9e54af1-c8bf-458e-be92-417624468c79", + "__uuid__": "ed546a4a-5231-4dfb-9c13-c1d6022cd74e", "__expectedType__": "cc.TTFFont" }, "_isSystemFontUsed": false, @@ -599,6 +488,42 @@ "__type__": "cc.CompPrefabInfo", "fileId": "5cruAaG71PfqRGm/l38M1B" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "_alignFlags": 2, + "_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": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "26WIIAhvFFTo9eKEaiNvTc" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -612,72 +537,34 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 8 - }, - "_enabled": true, - "__prefab": { - "__id__": 22 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 220, - "height": 20 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c421/CXtZDKY5yuV7tnnSH" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "88L+EUTZZDVISQwzIGA577", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", - "_name": "descriptionLabel", + "_name": "unitLabel", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1 + "__id__": 2 }, "_children": [], "_active": true, "_components": [ { - "__id__": 25 + "__id__": 20 }, { - "__id__": 27 + "__id__": 22 + }, + { + "__id__": 24 } ], "_prefab": { - "__id__": 29 + "__id__": 26 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, - "y": -28.08, + "x": 76, + "y": 0, "z": 0 }, "_lrot": { @@ -709,11 +596,372 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 24 + "__id__": 19 }, "_enabled": true, "__prefab": { - "__id__": 26 + "__id__": 21 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 20 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "420tr4e1FC5burJiXxAK5F" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "км/ч", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 14, + "_fontSize": 14, + "_fontFamily": "Arial", + "_lineHeight": 16, + "_overflow": 2, + "_enableWrapText": true, + "_font": { + "__uuid__": "ed546a4a-5231-4dfb-9c13-c1d6022cd74e", + "__expectedType__": "cc.TTFFont" + }, + "_isSystemFontUsed": false, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 2, + "_enableOutline": false, + "_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": "40VyhjgAdNcYm2UkqxXEab" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "_alignFlags": 2, + "_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": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "79SvI4yWtD3qRRgGH8mL9+" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "590EI61yFF37IIe1N+7yWs", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 28 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 204, + "height": 48 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c421/CXtZDKY5yuV7tnnSH" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 30 + }, + "_resizeMode": 1, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 20 + }, + "_startAxis": 0, + "_paddingLeft": 1, + "_paddingRight": 1, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 1, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 2, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "78izBPbwRMt6kdN/s3yna5" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 32 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "987794f8-c597-4400-9d3b-2849b7110099@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": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d1tlIMljFJO5orscU3RMly" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 34 + }, + "_alignFlags": 40, + "_target": null, + "_left": 5.5, + "_right": 5.5, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 204, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e2LhWIaEdDwa4aCzSN3hPp" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "88L+EUTZZDVISQwzIGA577", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "descriptionLabel", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 37 + }, + { + "__id__": 39 + }, + { + "__id__": 41 + } + ], + "_prefab": { + "__id__": 43 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -6.5, + "y": -24, + "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": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": { + "__id__": 38 }, "_contentSize": { "__type__": "cc.Size", @@ -737,11 +985,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 24 + "__id__": 36 }, "_enabled": true, "__prefab": { - "__id__": 28 + "__id__": 40 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -754,16 +1002,16 @@ "a": 255 }, "_string": "расширяемый текст описания", - "_horizontalAlign": 1, + "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 15.5625, + "_actualFontSize": 15.7, "_fontSize": 12, "_fontFamily": "Arial", "_lineHeight": 15, "_overflow": 3, "_enableWrapText": true, "_font": { - "__uuid__": "0835f102-5471-47a3-9a76-01c07ac9cdb2", + "__uuid__": "15dcb637-0f1e-42eb-b4e0-85dded133d37", "__expectedType__": "cc.TTFFont" }, "_isSystemFontUsed": false, @@ -802,6 +1050,42 @@ "__type__": "cc.CompPrefabInfo", "fileId": "871xfKGkdKSY4W65sOXzAz" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": { + "__id__": 42 + }, + "_alignFlags": 8, + "_target": null, + "_left": 1, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 8, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "33o+v47WBEpYm8h382gplB" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -825,12 +1109,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 31 + "__id__": 45 }, "_contentSize": { "__type__": "cc.Size", - "width": 220, - "height": 75.06 + "width": 215, + "height": 68.9 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -853,19 +1137,19 @@ }, "_enabled": true, "__prefab": { - "__id__": 33 + "__id__": 47 }, "nameLabel": { - "__id__": 5 + "__id__": 6 }, "valueLabel": { - "__id__": 18 + "__id__": 14 }, "unitLabel": { - "__id__": 12 + "__id__": 22 }, "descriptionLabel": { - "__id__": 27 + "__id__": 39 }, "_id": "" }, @@ -883,7 +1167,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 35 + "__id__": 49 }, "_resizeMode": 1, "_layoutType": 2, @@ -896,9 +1180,9 @@ "_paddingLeft": 0, "_paddingRight": 0, "_paddingTop": 0, - "_paddingBottom": 0, + "_paddingBottom": 1, "_spacingX": 0, - "_spacingY": 0, + "_spacingY": 1, "_verticalDirection": 1, "_horizontalDirection": 0, "_constraint": 0, diff --git a/assets/Prefabs/errorItemNamedPrefab.prefab b/assets/Prefabs/errorItemNamedPrefab.prefab index 4711285..0aa77ba 100644 --- a/assets/Prefabs/errorItemNamedPrefab.prefab +++ b/assets/Prefabs/errorItemNamedPrefab.prefab @@ -35,13 +35,10 @@ }, { "__id__": 24 - }, - { - "__id__": 26 } ], "_prefab": { - "__id__": 28 + "__id__": 26 }, "_lpos": { "__type__": "cc.Vec3", @@ -170,13 +167,13 @@ "_dstBlendFactor": 4, "_color": { "__type__": "cc.Color", - "r": 214, - "g": 214, - "b": 214, - "a": 0 + "r": 255, + "g": 255, + "b": 255, + "a": 255 }, "_spriteFrame": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__uuid__": "987794f8-c597-4400-9d3b-2849b7110099@f9941", "__expectedType__": "cc.SpriteFrame" }, "_type": 1, @@ -212,7 +209,7 @@ }, "clickEvents": [], "_interactable": true, - "_transition": 1, + "_transition": 2, "_normalColor": { "__type__": "cc.Color", "r": 214, @@ -242,7 +239,7 @@ "a": 255 }, "_normalSprite": { - "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__uuid__": "987794f8-c597-4400-9d3b-2849b7110099@f9941", "__expectedType__": "cc.SpriteFrame" }, "_hoverSprite": { @@ -620,7 +617,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 230, - "height": 36 + "height": 45 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -633,48 +630,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "29o4eyV5ZNy4dV0MMtsx28" }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 25 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": null, - "_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": "90NAT7FghLQ6RsYo8dZKX5" - }, { "__type__": "8d856ddUi1G2ad/KZe4aDTc", "_name": "", @@ -685,7 +640,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 27 + "__id__": 25 }, "nameLabel": { "__id__": 13 diff --git a/assets/Scenes/scene.scene b/assets/Scenes/scene.scene index a4945e9..90fb8e5 100644 --- a/assets/Scenes/scene.scene +++ b/assets/Scenes/scene.scene @@ -29,10 +29,10 @@ "__id__": 182 }, { - "__id__": 403 + "__id__": 404 }, { - "__id__": 405 + "__id__": 406 } ], "_active": true, @@ -67,7 +67,7 @@ }, "autoReleaseAssets": false, "_globals": { - "__id__": 407 + "__id__": 408 }, "_id": "955c22b7-7b7e-4af8-ad45-8415a0c23e60" }, @@ -6042,19 +6042,19 @@ "__id__": 302 }, { - "__id__": 358 + "__id__": 359 }, { "__id__": 247 }, { - "__id__": 369 + "__id__": 370 }, { - "__id__": 380 + "__id__": 381 }, { - "__id__": 324 + "__id__": 325 }, { "__id__": 197 @@ -6062,14 +6062,14 @@ ], "_active": true, "_components": [ - { - "__id__": 400 - }, { "__id__": 401 }, { "__id__": 402 + }, + { + "__id__": 403 } ], "_prefab": null, @@ -6161,7 +6161,7 @@ "_priority": 1073741824, "_fov": 45, "_fovAxis": 0, - "_orthoHeight": 381.2971342383107, + "_orthoHeight": 360, "_near": 1, "_far": 2000, "_color": { @@ -6400,7 +6400,7 @@ "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": -100, + "x": -95, "y": 0, "z": 0 }, @@ -7143,7 +7143,7 @@ "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": 15, + "x": 22, "y": 0, "z": 0 }, @@ -7215,8 +7215,8 @@ "_string": "Список оборудования", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 12, - "_fontSize": 12, + "_actualFontSize": 16, + "_fontSize": 16, "_fontFamily": "Arial", "_lineHeight": 20, "_overflow": 2, @@ -7359,11 +7359,11 @@ "height": 40 }, "_startAxis": 0, - "_paddingLeft": 5, - "_paddingRight": 0, + "_paddingLeft": 10, + "_paddingRight": 5, "_paddingTop": 0, "_paddingBottom": 0, - "_spacingX": 0, + "_spacingX": 2, "_spacingY": 0, "_verticalDirection": 1, "_horizontalDirection": 0, @@ -10631,19 +10631,16 @@ "_active": true, "_components": [ { - "__id__": 354 + "__id__": 356 }, { - "__id__": 355 + "__id__": 357 }, { "__id__": 311 }, { - "__id__": 356 - }, - { - "__id__": 357 + "__id__": 358 } ], "_prefab": null, @@ -10707,7 +10704,7 @@ "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": -113, + "x": -125, "y": 0, "z": 0 }, @@ -10916,7 +10913,7 @@ "__prefab": null, "_alignFlags": 13, "_target": null, - "_left": 0, + "_left": -12, "_right": 238, "_top": 0, "_bottom": 0, @@ -10931,7 +10928,7 @@ "_originalWidth": 0, "_originalHeight": 250, "_alignMode": 1, - "_lockFlags": 0, + "_lockFlags": 8, "_id": "3exmteKatF95z1I7zWjZp0" }, { @@ -10992,13 +10989,16 @@ }, "_children": [ { - "__id__": 350 + "__id__": 351 } ], "_active": true, "_components": [ { - "__id__": 353 + "__id__": 354 + }, + { + "__id__": 355 } ], "_prefab": null, @@ -11046,9 +11046,6 @@ ], "_active": true, "_components": [ - { - "__id__": 346 - }, { "__id__": 347 }, @@ -11057,13 +11054,16 @@ }, { "__id__": 349 + }, + { + "__id__": 350 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": -17.843999999999994, - "y": 20, + "x": 0, + "y": 5, "z": 0 }, "_lrot": { @@ -11107,9 +11107,6 @@ ], "_active": true, "_components": [ - { - "__id__": 342 - }, { "__id__": 343 }, @@ -11118,6 +11115,9 @@ }, { "__id__": 345 + }, + { + "__id__": 346 } ], "_prefab": null, @@ -11163,14 +11163,11 @@ "__id__": 316 }, { - "__id__": 319 + "__id__": 320 } ], "_active": true, "_components": [ - { - "__id__": 338 - }, { "__id__": 339 }, @@ -11179,13 +11176,16 @@ }, { "__id__": 341 + }, + { + "__id__": 342 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": -2.5, - "y": 340, + "x": 0, + "y": 335, "z": 0 }, "_lrot": { @@ -11227,12 +11227,15 @@ }, { "__id__": 318 + }, + { + "__id__": 319 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": -27.5, + "x": -30, "y": 0, "z": 0 }, @@ -11272,7 +11275,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 190, - "height": 40 + "height": 21 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -11304,10 +11307,10 @@ "_string": "Список всех аварий", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 12, - "_fontSize": 12, + "_actualFontSize": 14, + "_fontSize": 16, "_fontFamily": "Arial", - "_lineHeight": 20, + "_lineHeight": 30, "_overflow": 2, "_enableWrapText": true, "_font": { @@ -11346,6 +11349,36 @@ "_shadowBlur": 2, "_id": "05nkSPThZGCK+LcU0Ekaxn" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 316 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 2, + "_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": 0, + "_originalHeight": 0, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "0bFJ1un05Hb7fVHvDi5DqK" + }, { "__type__": "cc.Node", "_name": "CloseErrortList", @@ -11357,20 +11390,20 @@ "_children": [], "_active": true, "_components": [ - { - "__id__": 320 - }, { "__id__": 321 }, { "__id__": 322 + }, + { + "__id__": 323 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": 92.5, + "x": 90, "y": 0, "z": 0 }, @@ -11403,7 +11436,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 319 + "__id__": 320 }, "_enabled": true, "__prefab": null, @@ -11425,7 +11458,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 319 + "__id__": 320 }, "_enabled": true, "__prefab": null, @@ -11464,13 +11497,13 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 319 + "__id__": 320 }, "_enabled": true, "__prefab": null, "clickEvents": [ { - "__id__": 323 + "__id__": 324 } ], "_interactable": true, @@ -11522,14 +11555,14 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 319 + "__id__": 320 }, "_id": "cdX9xXp/1JtI4Cd60RBMzj" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 324 + "__id__": 325 }, "component": "", "_componentId": "c8c51tyHOdF9qPPEv9e5w6n", @@ -11546,17 +11579,14 @@ }, "_children": [ { - "__id__": 325 + "__id__": 326 }, { - "__id__": 330 + "__id__": 331 } ], "_active": true, "_components": [ - { - "__id__": 333 - }, { "__id__": 334 }, @@ -11568,13 +11598,16 @@ }, { "__id__": 337 + }, + { + "__id__": 338 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": 224.05, - "y": 324, + "x": 0, + "y": 317, "z": 0 }, "_lrot": { @@ -11606,19 +11639,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 324 + "__id__": 325 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 326 - }, { "__id__": 327 }, { "__id__": 328 + }, + { + "__id__": 329 } ], "_prefab": null, @@ -11657,19 +11690,19 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 325 + "__id__": 326 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 110, + "width": 200, "height": 40 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "x": 0.5, + "y": 0.5 }, "_id": "0c5NHZqBxKAbBeleYrhsiU" }, @@ -11679,7 +11712,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 325 + "__id__": 326 }, "_enabled": true, "__prefab": null, @@ -11715,13 +11748,13 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 325 + "__id__": 326 }, "_enabled": true, "__prefab": null, "clickEvents": [ { - "__id__": 329 + "__id__": 330 } ], "_interactable": true, @@ -11761,14 +11794,14 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 325 + "__id__": 326 }, "_id": "fcEudJINdBn5ntwulikXUd" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 324 + "__id__": 325 }, "component": "", "_componentId": "c8c51tyHOdF9qPPEv9e5w6n", @@ -11781,16 +11814,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 324 + "__id__": 325 }, "_children": [], "_active": true, "_components": [ { - "__id__": 331 + "__id__": 332 }, { - "__id__": 332 + "__id__": 333 } ], "_prefab": null, @@ -11829,7 +11862,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 330 + "__id__": 331 }, "_enabled": false, "__prefab": null, @@ -11840,8 +11873,8 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "x": 0.5, + "y": 0.5 }, "_id": "887Cw3W21N+a7PX6d0Z4Uk" }, @@ -11851,7 +11884,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 330 + "__id__": 331 }, "_enabled": true, "__prefab": null, @@ -11868,7 +11901,7 @@ "_string": "button", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 36.2578125, + "_actualFontSize": 26.166666666666668, "_fontSize": 20, "_fontFamily": "Arial", "_lineHeight": 40, @@ -11885,7 +11918,7 @@ "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, - "_enableOutline": true, + "_enableOutline": false, "_outlineColor": { "__type__": "cc.Color", "r": 0, @@ -11916,19 +11949,19 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 324 + "__id__": 325 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 110, + "width": 200, "height": 36 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "x": 0.5, + "y": 0.5 }, "_id": "b0kHZEj/ZAppdhQLrp/Kfs" }, @@ -11938,7 +11971,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 324 + "__id__": 325 }, "_enabled": true, "__prefab": null, @@ -11977,18 +12010,18 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 324 + "__id__": 325 }, "_enabled": true, "__prefab": null, "sprite": { - "__id__": 334 + "__id__": 335 }, "button": { - "__id__": 328 + "__id__": 329 }, "label": { - "__id__": 332 + "__id__": 333 }, "equipmentList": { "__id__": 302 @@ -12001,7 +12034,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 324 + "__id__": 325 }, "_enabled": true, "__prefab": null, @@ -12018,7 +12051,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 324 + "__id__": 325 }, "_enabled": true, "__prefab": null, @@ -12026,9 +12059,9 @@ "_target": null, "_left": 0, "_right": 0, - "_top": 0, + "_top": 25, "_bottom": 0, - "_horizontalCenter": 279.05, + "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, "_isAbsRight": true, @@ -12039,7 +12072,7 @@ "_originalWidth": 0, "_originalHeight": 0, "_alignMode": 1, - "_lockFlags": 1, + "_lockFlags": 17, "_id": "9dC20Nn9lBcYQ3DhVE3oco" }, { @@ -12054,7 +12087,7 @@ "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 245, + "width": 250, "height": 40 }, "_anchorPoint": { @@ -12109,7 +12142,7 @@ "_alignFlags": 40, "_target": null, "_left": 0, - "_right": 5, + "_right": 0, "_top": 0, "_bottom": 680, "_horizontalCenter": 0, @@ -12262,10 +12295,10 @@ "_startAxis": 0, "_paddingLeft": 0, "_paddingRight": 0, - "_paddingTop": 0, - "_paddingBottom": 0, + "_paddingTop": 5, + "_paddingBottom": 5, "_spacingX": 0, - "_spacingY": 0, + "_spacingY": 10, "_verticalDirection": 1, "_horizontalDirection": 0, "_constraint": 0, @@ -12362,10 +12395,10 @@ }, "_enabled": true, "__prefab": null, - "_alignFlags": 32, + "_alignFlags": 16, "_target": null, "_left": 0, - "_right": 27.843999999999994, + "_right": 25.543999999999997, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -12376,10 +12409,10 @@ "_isAbsBottom": true, "_isAbsHorizontalCenter": true, "_isAbsVerticalCenter": true, - "_originalWidth": 0, + "_originalWidth": 230, "_originalHeight": 0, "_alignMode": 2, - "_lockFlags": 32, + "_lockFlags": 8, "_id": "43wfgNMe9EmrCAj2yaUrA8" }, { @@ -12394,10 +12427,10 @@ "_active": true, "_components": [ { - "__id__": 351 + "__id__": 352 }, { - "__id__": 352 + "__id__": 353 } ], "_prefab": null, @@ -12436,13 +12469,13 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 350 + "__id__": 351 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 131.29982762335703, + "width": 131.30711257837382, "height": 25.2 }, "_anchorPoint": { @@ -12458,7 +12491,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 350 + "__id__": 351 }, "_enabled": true, "__prefab": null, @@ -12475,7 +12508,7 @@ "_string": "ScrollView content", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 29.00625, + "_actualFontSize": 20.933333333333334, "_fontSize": 16, "_fontFamily": "Arial", "_lineHeight": 20, @@ -12536,6 +12569,36 @@ }, "_id": "19gf7atU9LFZW+TrGDcWgB" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 312 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 40, + "_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": 230, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 40, + "_id": "b6hp+r94hGTYJVxpw1WSlK" + }, { "__type__": "cc.UITransform", "_name": "", @@ -12627,38 +12690,6 @@ "_lockFlags": 5, "_id": "89Wk6tFS1D5qopjRWStjYp" }, - { - "__type__": "cc.Layout", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 302 - }, - "_enabled": true, - "__prefab": null, - "_resizeMode": 0, - "_layoutType": 1, - "_cellSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_startAxis": 0, - "_paddingLeft": 0, - "_paddingRight": 0, - "_paddingTop": 0, - "_paddingBottom": 0, - "_spacingX": 1, - "_spacingY": 0, - "_verticalDirection": 1, - "_horizontalDirection": 0, - "_constraint": 0, - "_constraintNum": 2, - "_affectedByScale": false, - "_isAlign": false, - "_id": "3fZTaESKRAOpg1AM8EAkx4" - }, { "__type__": "cc.Node", "_name": "Error", @@ -12669,16 +12700,16 @@ }, "_children": [ { - "__id__": 359 + "__id__": 360 }, { - "__id__": 361 + "__id__": 362 }, { - "__id__": 363 + "__id__": 364 }, { - "__id__": 366 + "__id__": 367 } ], "_active": true, @@ -12719,13 +12750,13 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 358 + "__id__": 359 }, "_children": [], "_active": true, "_components": [ { - "__id__": 360 + "__id__": 361 } ], "_prefab": null, @@ -12764,7 +12795,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 359 + "__id__": 360 }, "_enabled": true, "__prefab": null, @@ -12795,13 +12826,13 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 358 + "__id__": 359 }, "_children": [], "_active": true, "_components": [ { - "__id__": 362 + "__id__": 363 } ], "_prefab": null, @@ -12840,7 +12871,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 361 + "__id__": 362 }, "_enabled": true, "__prefab": null, @@ -12859,16 +12890,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 358 + "__id__": 359 }, "_children": [], "_active": true, "_components": [ { - "__id__": 364 + "__id__": 365 }, { - "__id__": 365 + "__id__": 366 } ], "_prefab": null, @@ -12907,7 +12938,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 363 + "__id__": 364 }, "_enabled": true, "__prefab": null, @@ -12929,7 +12960,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 363 + "__id__": 364 }, "_enabled": true, "__prefab": null, @@ -12945,16 +12976,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 358 + "__id__": 359 }, "_children": [], "_active": true, "_components": [ { - "__id__": 367 + "__id__": 368 }, { - "__id__": 368 + "__id__": 369 } ], "_prefab": null, @@ -12993,7 +13024,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 366 + "__id__": 367 }, "_enabled": true, "__prefab": null, @@ -13015,7 +13046,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 366 + "__id__": 367 }, "_enabled": true, "__prefab": null, @@ -13036,19 +13067,19 @@ }, "_children": [ { - "__id__": 370 + "__id__": 371 } ], "_active": true, "_components": [ - { - "__id__": 377 - }, { "__id__": 378 }, { "__id__": 379 + }, + { + "__id__": 380 } ], "_prefab": null, @@ -13087,14 +13118,11 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 369 + "__id__": 370 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 371 - }, { "__id__": 372 }, @@ -13102,7 +13130,10 @@ "__id__": 373 }, { - "__id__": 376 + "__id__": 374 + }, + { + "__id__": 377 } ], "_prefab": null, @@ -13141,7 +13172,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 370 + "__id__": 371 }, "_enabled": true, "__prefab": null, @@ -13163,7 +13194,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 370 + "__id__": 371 }, "_enabled": true, "__prefab": null, @@ -13202,16 +13233,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 370 + "__id__": 371 }, "_enabled": true, "__prefab": null, "clickEvents": [ { - "__id__": 374 + "__id__": 375 }, { - "__id__": 375 + "__id__": 376 } ], "_interactable": true, @@ -13263,14 +13294,14 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 370 + "__id__": 371 }, "_id": "b0qrCca/9OLZnSLlYjdPgL" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 370 + "__id__": 371 }, "component": "", "_componentId": "f9840lS54pAqo74KWdHx4Ej", @@ -13280,7 +13311,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 369 + "__id__": 370 }, "component": "", "_componentId": "710e0lYsxlDaazRa54bbTix", @@ -13293,7 +13324,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 370 + "__id__": 371 }, "_enabled": true, "__prefab": null, @@ -13308,7 +13339,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 369 + "__id__": 370 }, "_enabled": true, "__prefab": null, @@ -13330,12 +13361,12 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 369 + "__id__": 370 }, "_enabled": true, "__prefab": null, "returnCameraButton": { - "__id__": 370 + "__id__": 371 }, "character": { "__id__": 5 @@ -13357,7 +13388,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 369 + "__id__": 370 }, "_enabled": true, "__prefab": null, @@ -13391,20 +13422,17 @@ }, "_children": [ { - "__id__": 381 + "__id__": 382 }, { - "__id__": 384 + "__id__": 385 }, { - "__id__": 391 + "__id__": 392 } ], "_active": true, "_components": [ - { - "__id__": 395 - }, { "__id__": 396 }, @@ -13416,6 +13444,9 @@ }, { "__id__": 399 + }, + { + "__id__": 400 } ], "_prefab": null, @@ -13454,16 +13485,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 380 + "__id__": 381 }, "_children": [], "_active": true, "_components": [ { - "__id__": 382 + "__id__": 383 }, { - "__id__": 383 + "__id__": 384 } ], "_prefab": null, @@ -13502,7 +13533,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 381 + "__id__": 382 }, "_enabled": true, "__prefab": null, @@ -13524,7 +13555,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 381 + "__id__": 382 }, "_enabled": true, "__prefab": null, @@ -13563,19 +13594,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 380 + "__id__": 381 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 385 - }, { "__id__": 386 }, { "__id__": 387 + }, + { + "__id__": 388 } ], "_prefab": null, @@ -13614,7 +13645,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 384 + "__id__": 385 }, "_enabled": true, "__prefab": null, @@ -13636,7 +13667,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 384 + "__id__": 385 }, "_enabled": true, "__prefab": null, @@ -13672,19 +13703,19 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 384 + "__id__": 385 }, "_enabled": true, "__prefab": null, "clickEvents": [ - { - "__id__": 388 - }, { "__id__": 389 }, { "__id__": 390 + }, + { + "__id__": 391 } ], "_interactable": true, @@ -13724,14 +13755,14 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 384 + "__id__": 385 }, "_id": "d11rVANmBCprUmlMuEvW0R" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 380 + "__id__": 381 }, "component": "", "_componentId": "25c6avRXM5AKrkSp8VWFb2Y", @@ -13741,7 +13772,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 380 + "__id__": 381 }, "component": "", "_componentId": "bae91xJwvJDa5PQthCiFX8w", @@ -13764,19 +13795,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 380 + "__id__": 381 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 392 - }, { "__id__": 393 }, { "__id__": 394 + }, + { + "__id__": 395 } ], "_prefab": null, @@ -13815,7 +13846,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 391 + "__id__": 392 }, "_enabled": true, "__prefab": null, @@ -13837,7 +13868,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 391 + "__id__": 392 }, "_enabled": true, "__prefab": null, @@ -13902,7 +13933,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 391 + "__id__": 392 }, "_enabled": true, "__prefab": null, @@ -13932,7 +13963,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 380 + "__id__": 381 }, "_enabled": true, "__prefab": null, @@ -13954,7 +13985,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 380 + "__id__": 381 }, "_enabled": true, "__prefab": null, @@ -13993,15 +14024,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 380 + "__id__": 381 }, "_enabled": true, "__prefab": null, "nodeThump": { - "__id__": 381 + "__id__": 382 }, "spriteBg": { - "__id__": 396 + "__id__": 397 }, "colorBg": [ { @@ -14027,12 +14058,12 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 380 + "__id__": 381 }, "_enabled": true, "__prefab": null, "WallLb": { - "__id__": 393 + "__id__": 394 }, "_id": "c0Q0fm5TpGoJpzNvUOrrU+" }, @@ -14042,7 +14073,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 380 + "__id__": 381 }, "_enabled": true, "__prefab": null, @@ -14146,7 +14177,7 @@ "_active": true, "_components": [ { - "__id__": 404 + "__id__": 405 } ], "_prefab": null, @@ -14185,7 +14216,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 403 + "__id__": 404 }, "_enabled": true, "__prefab": null, @@ -14214,7 +14245,7 @@ "_active": true, "_components": [ { - "__id__": 406 + "__id__": 407 } ], "_prefab": null, @@ -14253,7 +14284,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 405 + "__id__": 406 }, "_enabled": true, "__prefab": null, @@ -14263,29 +14294,29 @@ { "__type__": "cc.SceneGlobals", "ambient": { - "__id__": 408 - }, - "shadows": { "__id__": 409 }, - "_skybox": { + "shadows": { "__id__": 410 }, - "fog": { + "_skybox": { "__id__": 411 }, - "octree": { + "fog": { "__id__": 412 }, - "skin": { + "octree": { "__id__": 413 }, - "lightProbeInfo": { + "skin": { "__id__": 414 }, - "postSettings": { + "lightProbeInfo": { "__id__": 415 }, + "postSettings": { + "__id__": 416 + }, "bakedWithStationaryMainLight": false, "bakedWithHighpLightmap": false }, diff --git a/assets/Scripts/ui/SensorFieldItem.ts b/assets/Scripts/ui/SensorFieldItem.ts index 68f1ab4..5e4d9c6 100644 --- a/assets/Scripts/ui/SensorFieldItem.ts +++ b/assets/Scripts/ui/SensorFieldItem.ts @@ -23,8 +23,8 @@ export class SensorFieldItem extends Component { public setData(field: SensorDescriptionField): void { if (this.nameLabel) this.nameLabel.string = field.name; if (this.valueLabel) this.valueLabel.string = String(field.value); - if (this.unitLabel) this.unitLabel.string = field.unit; - + if (this.unitLabel) {this.unitLabel.string = field.unit? field.unit: "????"} + // Отображение описания (мелким серым текстом, если есть) if (this.descriptionLabel) { if (field.description && field.description.trim() !== "") { diff --git a/assets/Scripts/ui/VectorImages.meta b/assets/Scripts/ui/VectorImages.meta deleted file mode 100644 index 7f0e02b..0000000 --- a/assets/Scripts/ui/VectorImages.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.2.0", - "importer": "directory", - "imported": true, - "uuid": "fd645b06-0a2b-44e9-8721-9e8590e81e15", - "files": [], - "subMetas": {}, - "userData": {} -} diff --git a/assets/Scripts/ux/ErrorButtonStatus.ts b/assets/Scripts/ux/ErrorButtonStatus.ts index 300ebab..32cf93d 100644 --- a/assets/Scripts/ux/ErrorButtonStatus.ts +++ b/assets/Scripts/ux/ErrorButtonStatus.ts @@ -53,7 +53,7 @@ export class ErrorButtonStatus extends Component { if (countError > 0) { this.sprite.color = new Color(255, 0, 0); this.button.interactable = true; - this.label.string = `аварий: ${countError}`; + this.label.string = `Аварий: ${countError}`; } else { this.sprite.color = new Color(128, 128, 128,0); this.button.interactable = false; diff --git a/assets/Sprites/квадрат_с_нижней_линией.png b/assets/Sprites/квадрат_с_нижней_линией.png new file mode 100644 index 0000000..fc25301 Binary files /dev/null and b/assets/Sprites/квадрат_с_нижней_линией.png differ diff --git a/assets/Sprites/квадрат_с_нижней_линией.png.meta b/assets/Sprites/квадрат_с_нижней_линией.png.meta new file mode 100644 index 0000000..4e4ff85 --- /dev/null +++ b/assets/Sprites/квадрат_с_нижней_линией.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "987794f8-c597-4400-9d3b-2849b7110099", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "987794f8-c597-4400-9d3b-2849b7110099@6c48a", + "displayName": "квадрат_с_нижней_линией", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "987794f8-c597-4400-9d3b-2849b7110099", + "visible": false + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "987794f8-c597-4400-9d3b-2849b7110099@f9941", + "displayName": "квадрат_с_нижней_линией", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 48, + "height": 48, + "rawWidth": 48, + "rawHeight": 48, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -24, + -24, + 0, + 24, + -24, + 0, + -24, + 24, + 0, + 24, + 24, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 48, + 48, + 48, + 0, + 0, + 48, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -24, + -24, + 0 + ], + "maxPos": [ + 24, + 24, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "987794f8-c597-4400-9d3b-2849b7110099@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "hasAlpha": true, + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": false, + "redirect": "987794f8-c597-4400-9d3b-2849b7110099@6c48a" + } +}