Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 6f13437e

Přidáno uživatelem Zuzana Káčereková před více než 3 roky(ů)

Refs #9064, #9042, #9043. Fixed weather bug, started on building tags.

Zobrazit rozdíly:

Client/Client/Assets/Resources/Prefabs/Label.prefab
1
%YAML 1.1
2
%TAG !u! tag:unity3d.com,2011:
3
--- !u!1 &126668471377354203
4
GameObject:
5
  m_ObjectHideFlags: 0
6
  m_CorrespondingSourceObject: {fileID: 0}
7
  m_PrefabInstance: {fileID: 0}
8
  m_PrefabAsset: {fileID: 0}
9
  serializedVersion: 6
10
  m_Component:
11
  - component: {fileID: 7030452553081407719}
12
  - component: {fileID: 961033988929133990}
13
  - component: {fileID: 6895459623763151903}
14
  m_Layer: 0
15
  m_Name: Text
16
  m_TagString: Untagged
17
  m_Icon: {fileID: 0}
18
  m_NavMeshLayer: 0
19
  m_StaticEditorFlags: 0
20
  m_IsActive: 1
21
--- !u!224 &7030452553081407719
22
RectTransform:
23
  m_ObjectHideFlags: 0
24
  m_CorrespondingSourceObject: {fileID: 0}
25
  m_PrefabInstance: {fileID: 0}
26
  m_PrefabAsset: {fileID: 0}
27
  m_GameObject: {fileID: 126668471377354203}
28
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
29
  m_LocalPosition: {x: 0, y: 0, z: 0}
30
  m_LocalScale: {x: 1, y: 1, z: 1}
31
  m_Children: []
32
  m_Father: {fileID: 1905424836749658175}
33
  m_RootOrder: 0
34
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
35
  m_AnchorMin: {x: 0, y: 0}
36
  m_AnchorMax: {x: 1, y: 1}
37
  m_AnchoredPosition: {x: 0, y: 0}
38
  m_SizeDelta: {x: 0, y: 0}
39
  m_Pivot: {x: 0.5, y: 0.5}
40
--- !u!222 &961033988929133990
41
CanvasRenderer:
42
  m_ObjectHideFlags: 0
43
  m_CorrespondingSourceObject: {fileID: 0}
44
  m_PrefabInstance: {fileID: 0}
45
  m_PrefabAsset: {fileID: 0}
46
  m_GameObject: {fileID: 126668471377354203}
47
  m_CullTransparentMesh: 0
48
--- !u!114 &6895459623763151903
49
MonoBehaviour:
50
  m_ObjectHideFlags: 0
51
  m_CorrespondingSourceObject: {fileID: 0}
52
  m_PrefabInstance: {fileID: 0}
53
  m_PrefabAsset: {fileID: 0}
54
  m_GameObject: {fileID: 126668471377354203}
55
  m_Enabled: 1
56
  m_EditorHideFlags: 0
57
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
58
  m_Name: 
59
  m_EditorClassIdentifier: 
60
  m_Material: {fileID: 0}
61
  m_Color: {r: 1, g: 1, b: 1, a: 1}
62
  m_RaycastTarget: 1
63
  m_Maskable: 1
64
  m_OnCullStateChanged:
65
    m_PersistentCalls:
66
      m_Calls: []
67
  m_FontData:
68
    m_Font: {fileID: 12800000, guid: aae49ca92ffb421429b456290adc5d66, type: 3}
69
    m_FontSize: 20
70
    m_FontStyle: 0
71
    m_BestFit: 0
72
    m_MinSize: 2
73
    m_MaxSize: 40
74
    m_Alignment: 4
75
    m_AlignByGeometry: 0
76
    m_RichText: 1
77
    m_HorizontalOverflow: 0
78
    m_VerticalOverflow: 0
79
    m_LineSpacing: 1
80
  m_Text: FAV
81
--- !u!1 &2200878503183782622
82
GameObject:
83
  m_ObjectHideFlags: 0
84
  m_CorrespondingSourceObject: {fileID: 0}
85
  m_PrefabInstance: {fileID: 0}
86
  m_PrefabAsset: {fileID: 0}
87
  serializedVersion: 6
88
  m_Component:
89
  - component: {fileID: 1905424836749658175}
90
  - component: {fileID: 7700059542336991804}
91
  - component: {fileID: 8922850810963873980}
92
  - component: {fileID: 7691608215586189943}
93
  m_Layer: 0
94
  m_Name: Label
95
  m_TagString: Untagged
96
  m_Icon: {fileID: 0}
97
  m_NavMeshLayer: 0
98
  m_StaticEditorFlags: 0
99
  m_IsActive: 1
100
--- !u!224 &1905424836749658175
101
RectTransform:
102
  m_ObjectHideFlags: 0
103
  m_CorrespondingSourceObject: {fileID: 0}
104
  m_PrefabInstance: {fileID: 0}
105
  m_PrefabAsset: {fileID: 0}
106
  m_GameObject: {fileID: 2200878503183782622}
107
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
108
  m_LocalPosition: {x: 0, y: 0, z: 0}
109
  m_LocalScale: {x: 1, y: 1, z: 1}
110
  m_Children:
111
  - {fileID: 7030452553081407719}
112
  m_Father: {fileID: 0}
113
  m_RootOrder: 0
114
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
115
  m_AnchorMin: {x: 0.5, y: 0.5}
116
  m_AnchorMax: {x: 0.5, y: 0.5}
117
  m_AnchoredPosition: {x: 0, y: 0}
118
  m_SizeDelta: {x: 100, y: 35}
119
  m_Pivot: {x: 0.5, y: 0.5}
120
--- !u!222 &7700059542336991804
121
CanvasRenderer:
122
  m_ObjectHideFlags: 0
123
  m_CorrespondingSourceObject: {fileID: 0}
124
  m_PrefabInstance: {fileID: 0}
125
  m_PrefabAsset: {fileID: 0}
126
  m_GameObject: {fileID: 2200878503183782622}
127
  m_CullTransparentMesh: 0
128
--- !u!114 &8922850810963873980
129
MonoBehaviour:
130
  m_ObjectHideFlags: 0
131
  m_CorrespondingSourceObject: {fileID: 0}
132
  m_PrefabInstance: {fileID: 0}
133
  m_PrefabAsset: {fileID: 0}
134
  m_GameObject: {fileID: 2200878503183782622}
135
  m_Enabled: 1
136
  m_EditorHideFlags: 0
137
  m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
138
  m_Name: 
139
  m_EditorClassIdentifier: 
140
  m_Material: {fileID: 0}
141
  m_Color: {r: 0.25, g: 0.37053567, b: 0.5, a: 0.6}
142
  m_RaycastTarget: 1
143
  m_Maskable: 1
144
  m_OnCullStateChanged:
145
    m_PersistentCalls:
146
      m_Calls: []
147
  m_Sprite: {fileID: 21300000, guid: 915f428a07576ec41a126a3bb514df20, type: 3}
148
  m_Type: 1
149
  m_PreserveAspect: 0
150
  m_FillCenter: 1
151
  m_FillMethod: 4
152
  m_FillAmount: 1
153
  m_FillClockwise: 1
154
  m_FillOrigin: 0
155
  m_UseSpriteMesh: 0
156
  m_PixelsPerUnitMultiplier: 1.75
157
--- !u!114 &7691608215586189943
158
MonoBehaviour:
159
  m_ObjectHideFlags: 0
160
  m_CorrespondingSourceObject: {fileID: 0}
161
  m_PrefabInstance: {fileID: 0}
162
  m_PrefabAsset: {fileID: 0}
163
  m_GameObject: {fileID: 2200878503183782622}
164
  m_Enabled: 1
165
  m_EditorHideFlags: 0
166
  m_Script: {fileID: 11500000, guid: b9eadbb4d9cd1094fb9af922b023c6b9, type: 3}
167
  m_Name: 
168
  m_EditorClassIdentifier: 
Client/Client/Assets/Resources/Prefabs/Label.prefab.meta
1
fileFormatVersion: 2
2
guid: 346106f8583ff85499c5966500ad6102
3
PrefabImporter:
4
  externalObjects: {}
5
  userData: 
6
  assetBundleName: 
7
  assetBundleVariant: 
Client/Client/Assets/Scenes/WebGL.unity
282 282
  m_PrefabInstance: {fileID: 0}
283 283
  m_PrefabAsset: {fileID: 0}
284 284
  m_GameObject: {fileID: 11246237}
285
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
285
  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
286 286
  m_LocalPosition: {x: 0, y: 0, z: 0}
287
  m_LocalScale: {x: 1, y: 1, z: 1}
287
  m_LocalScale: {x: 0.9, y: 0.9, z: 1}
288 288
  m_Children:
289 289
  - {fileID: 997299467}
290 290
  - {fileID: 1687080553}
291 291
  - {fileID: 45274331}
292
  m_Father: {fileID: 345387603}
292
  m_Father: {fileID: 2099107657}
293 293
  m_RootOrder: 0
294 294
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
295
  m_AnchorMin: {x: 0.5, y: 0.5}
296
  m_AnchorMax: {x: 0.5, y: 0.5}
297
  m_AnchoredPosition: {x: 0, y: 0}
298
  m_SizeDelta: {x: 300, y: 35}
299
  m_Pivot: {x: 0.5, y: 0.5}
295
  m_AnchorMin: {x: 0.5, y: 1}
296
  m_AnchorMax: {x: 0.5, y: 1}
297
  m_AnchoredPosition: {x: 0, y: -100}
298
  m_SizeDelta: {x: 350, y: 40}
299
  m_Pivot: {x: 0.5, y: 1}
300 300
--- !u!114 &11246239
301 301
MonoBehaviour:
302 302
  m_ObjectHideFlags: 0
......
351 351
      m_Image: {fileID: 0}
352 352
    - m_Text: UP
353 353
      m_Image: {fileID: 0}
354
    - m_Text: UF
355
      m_Image: {fileID: 0}
356
    - m_Text: OF
357
      m_Image: {fileID: 0}
358
    - m_Text: UH
359
      m_Image: {fileID: 0}
360
    - m_Text: OH
361
      m_Image: {fileID: 0}
354 362
  m_OnValueChanged:
355 363
    m_PersistentCalls:
356 364
      m_Calls: []
......
756 764
  m_PrefabAsset: {fileID: 0}
757 765
  m_GameObject: {fileID: 23928214}
758 766
  m_CullTransparentMesh: 0
767
--- !u!1 &28716928
768
GameObject:
769
  m_ObjectHideFlags: 0
770
  m_CorrespondingSourceObject: {fileID: 0}
771
  m_PrefabInstance: {fileID: 0}
772
  m_PrefabAsset: {fileID: 0}
773
  serializedVersion: 6
774
  m_Component:
775
  - component: {fileID: 28716929}
776
  - component: {fileID: 28716932}
777
  - component: {fileID: 28716930}
778
  m_Layer: 0
779
  m_Name: LabelCanvas
780
  m_TagString: Untagged
781
  m_Icon: {fileID: 0}
782
  m_NavMeshLayer: 0
783
  m_StaticEditorFlags: 0
784
  m_IsActive: 1
785
--- !u!224 &28716929
786
RectTransform:
787
  m_ObjectHideFlags: 0
788
  m_CorrespondingSourceObject: {fileID: 0}
789
  m_PrefabInstance: {fileID: 0}
790
  m_PrefabAsset: {fileID: 0}
791
  m_GameObject: {fileID: 28716928}
792
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
793
  m_LocalPosition: {x: 0, y: 0, z: 0}
794
  m_LocalScale: {x: 0, y: 0, z: 0}
795
  m_Children: []
796
  m_Father: {fileID: 591238600}
797
  m_RootOrder: 2
798
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
799
  m_AnchorMin: {x: 0, y: 0}
800
  m_AnchorMax: {x: 0, y: 0}
801
  m_AnchoredPosition: {x: 0, y: 0}
802
  m_SizeDelta: {x: 0, y: 0}
803
  m_Pivot: {x: 0, y: 0}
804
--- !u!114 &28716930
805
MonoBehaviour:
806
  m_ObjectHideFlags: 0
807
  m_CorrespondingSourceObject: {fileID: 0}
808
  m_PrefabInstance: {fileID: 0}
809
  m_PrefabAsset: {fileID: 0}
810
  m_GameObject: {fileID: 28716928}
811
  m_Enabled: 1
812
  m_EditorHideFlags: 0
813
  m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
814
  m_Name: 
815
  m_EditorClassIdentifier: 
816
  m_IgnoreReversedGraphics: 1
817
  m_BlockingObjects: 0
818
  m_BlockingMask:
819
    serializedVersion: 2
820
    m_Bits: 4294967295
821
--- !u!223 &28716932
822
Canvas:
823
  m_ObjectHideFlags: 0
824
  m_CorrespondingSourceObject: {fileID: 0}
825
  m_PrefabInstance: {fileID: 0}
826
  m_PrefabAsset: {fileID: 0}
827
  m_GameObject: {fileID: 28716928}
828
  m_Enabled: 1
829
  serializedVersion: 3
830
  m_RenderMode: 0
831
  m_Camera: {fileID: 0}
832
  m_PlaneDistance: 100
833
  m_PixelPerfect: 0
834
  m_ReceivesEvents: 1
835
  m_OverrideSorting: 0
836
  m_OverridePixelPerfect: 0
837
  m_SortingBucketNormalizedSize: 0
838
  m_AdditionalShaderChannelsFlag: 0
839
  m_SortingLayerID: 0
840
  m_SortingOrder: -1
841
  m_TargetDisplay: 0
759 842
--- !u!1 &37705500
760 843
GameObject:
761 844
  m_ObjectHideFlags: 0
......
1185 1268
  m_Elasticity: 0.1
1186 1269
  m_Inertia: 1
1187 1270
  m_DecelerationRate: 0.135
1188
  m_ScrollSensitivity: 1
1271
  m_ScrollSensitivity: 50
1189 1272
  m_Viewport: {fileID: 852099711}
1190 1273
  m_HorizontalScrollbar: {fileID: 0}
1191 1274
  m_VerticalScrollbar: {fileID: 1395626029}
......
3147 3230
  m_AnchorMin: {x: 0, y: 0.5}
3148 3231
  m_AnchorMax: {x: 1, y: 0.5}
3149 3232
  m_AnchoredPosition: {x: 0, y: 0}
3150
  m_SizeDelta: {x: 0, y: 35}
3233
  m_SizeDelta: {x: 0, y: 40}
3151 3234
  m_Pivot: {x: 0.5, y: 0.5}
3152 3235
--- !u!114 &157328952
3153 3236
MonoBehaviour:
......
5694 5777
  m_PrefabAsset: {fileID: 0}
5695 5778
  m_GameObject: {fileID: 343797086}
5696 5779
  m_CullTransparentMesh: 0
5697
--- !u!1 &345387602
5698
GameObject:
5699
  m_ObjectHideFlags: 0
5700
  m_CorrespondingSourceObject: {fileID: 0}
5701
  m_PrefabInstance: {fileID: 0}
5702
  m_PrefabAsset: {fileID: 0}
5703
  serializedVersion: 6
5704
  m_Component:
5705
  - component: {fileID: 345387603}
5706
  - component: {fileID: 345387605}
5707
  - component: {fileID: 345387604}
5708
  m_Layer: 5
5709
  m_Name: WeatherSelect
5710
  m_TagString: Untagged
5711
  m_Icon: {fileID: 0}
5712
  m_NavMeshLayer: 0
5713
  m_StaticEditorFlags: 0
5714
  m_IsActive: 1
5715
--- !u!224 &345387603
5716
RectTransform:
5717
  m_ObjectHideFlags: 0
5718
  m_CorrespondingSourceObject: {fileID: 0}
5719
  m_PrefabInstance: {fileID: 0}
5720
  m_PrefabAsset: {fileID: 0}
5721
  m_GameObject: {fileID: 345387602}
5722
  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
5723
  m_LocalPosition: {x: 0, y: 0, z: 0}
5724
  m_LocalScale: {x: 0.9, y: 0.9, z: 1}
5725
  m_Children:
5726
  - {fileID: 11246238}
5727
  - {fileID: 466206377}
5728
  m_Father: {fileID: 2099107657}
5729
  m_RootOrder: 0
5730
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
5731
  m_AnchorMin: {x: 0, y: 1}
5732
  m_AnchorMax: {x: 1, y: 1}
5733
  m_AnchoredPosition: {x: 0, y: -100}
5734
  m_SizeDelta: {x: 0, y: 30}
5735
  m_Pivot: {x: 0.5, y: 1}
5736
--- !u!114 &345387604
5737
MonoBehaviour:
5738
  m_ObjectHideFlags: 0
5739
  m_CorrespondingSourceObject: {fileID: 0}
5740
  m_PrefabInstance: {fileID: 0}
5741
  m_PrefabAsset: {fileID: 0}
5742
  m_GameObject: {fileID: 345387602}
5743
  m_Enabled: 0
5744
  m_EditorHideFlags: 0
5745
  m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
5746
  m_Name: 
5747
  m_EditorClassIdentifier: 
5748
  m_Material: {fileID: 0}
5749
  m_Color: {r: 1, g: 1, b: 1, a: 0.392}
5750
  m_RaycastTarget: 1
5751
  m_Maskable: 1
5752
  m_OnCullStateChanged:
5753
    m_PersistentCalls:
5754
      m_Calls: []
5755
  m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
5756
  m_Type: 1
5757
  m_PreserveAspect: 0
5758
  m_FillCenter: 1
5759
  m_FillMethod: 4
5760
  m_FillAmount: 1
5761
  m_FillClockwise: 1
5762
  m_FillOrigin: 0
5763
  m_UseSpriteMesh: 0
5764
  m_PixelsPerUnitMultiplier: 1
5765
--- !u!222 &345387605
5766
CanvasRenderer:
5767
  m_ObjectHideFlags: 0
5768
  m_CorrespondingSourceObject: {fileID: 0}
5769
  m_PrefabInstance: {fileID: 0}
5770
  m_PrefabAsset: {fileID: 0}
5771
  m_GameObject: {fileID: 345387602}
5772
  m_CullTransparentMesh: 0
5773 5780
--- !u!1 &363153767
5774 5781
GameObject:
5775 5782
  m_ObjectHideFlags: 0
......
6548 6555
    m_FontSize: 14
6549 6556
    m_FontStyle: 0
6550 6557
    m_BestFit: 0
6551
    m_MinSize: 10
6552
    m_MaxSize: 40
6558
    m_MinSize: 0
6559
    m_MaxSize: 41
6553 6560
    m_Alignment: 4
6554 6561
    m_AlignByGeometry: 0
6555 6562
    m_RichText: 1
......
7045 7052
    type: 3}
7046 7053
  m_PrefabInstance: {fileID: 457534403}
7047 7054
  m_PrefabAsset: {fileID: 0}
7048
--- !u!1 &466206376
7049
GameObject:
7050
  m_ObjectHideFlags: 0
7051
  m_CorrespondingSourceObject: {fileID: 0}
7052
  m_PrefabInstance: {fileID: 0}
7053
  m_PrefabAsset: {fileID: 0}
7054
  serializedVersion: 6
7055
  m_Component:
7056
  - component: {fileID: 466206377}
7057
  - component: {fileID: 466206379}
7058
  - component: {fileID: 466206378}
7059
  m_Layer: 5
7060
  m_Name: Weather
7061
  m_TagString: Untagged
7062
  m_Icon: {fileID: 0}
7063
  m_NavMeshLayer: 0
7064
  m_StaticEditorFlags: 0
7065
  m_IsActive: 0
7066
--- !u!224 &466206377
7067
RectTransform:
7068
  m_ObjectHideFlags: 0
7069
  m_CorrespondingSourceObject: {fileID: 0}
7070
  m_PrefabInstance: {fileID: 0}
7071
  m_PrefabAsset: {fileID: 0}
7072
  m_GameObject: {fileID: 466206376}
7073
  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
7074
  m_LocalPosition: {x: 0, y: 0, z: 0}
7075
  m_LocalScale: {x: 1, y: 1, z: 1}
7076
  m_Children: []
7077
  m_Father: {fileID: 345387603}
7078
  m_RootOrder: 1
7079
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
7080
  m_AnchorMin: {x: 0, y: 1}
7081
  m_AnchorMax: {x: 1, y: 1}
7082
  m_AnchoredPosition: {x: 0, y: 0}
7083
  m_SizeDelta: {x: 0, y: 30}
7084
  m_Pivot: {x: 0.5, y: 1}
7085
--- !u!114 &466206378
7086
MonoBehaviour:
7087
  m_ObjectHideFlags: 0
7088
  m_CorrespondingSourceObject: {fileID: 0}
7089
  m_PrefabInstance: {fileID: 0}
7090
  m_PrefabAsset: {fileID: 0}
7091
  m_GameObject: {fileID: 466206376}
7092
  m_Enabled: 1
7093
  m_EditorHideFlags: 0
7094
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
7095
  m_Name: 
7096
  m_EditorClassIdentifier: 
7097
  m_Material: {fileID: 0}
7098
  m_Color: {r: 0.15, g: 0.15, b: 0.15, a: 1}
7099
  m_RaycastTarget: 1
7100
  m_Maskable: 1
7101
  m_OnCullStateChanged:
7102
    m_PersistentCalls:
7103
      m_Calls: []
7104
  m_FontData:
7105
    m_Font: {fileID: 12800000, guid: 9481e32b30a71424388dc7fa2f08e2d0, type: 3}
7106
    m_FontSize: 24
7107
    m_FontStyle: 0
7108
    m_BestFit: 0
7109
    m_MinSize: 2
7110
    m_MaxSize: 40
7111
    m_Alignment: 4
7112
    m_AlignByGeometry: 0
7113
    m_RichText: 1
7114
    m_HorizontalOverflow: 0
7115
    m_VerticalOverflow: 0
7116
    m_LineSpacing: 1
7117
  m_Text: CLOUDY
7118
--- !u!222 &466206379
7119
CanvasRenderer:
7120
  m_ObjectHideFlags: 0
7121
  m_CorrespondingSourceObject: {fileID: 0}
7122
  m_PrefabInstance: {fileID: 0}
7123
  m_PrefabAsset: {fileID: 0}
7124
  m_GameObject: {fileID: 466206376}
7125
  m_CullTransparentMesh: 0
7126 7055
--- !u!1 &469665291
7127 7056
GameObject:
7128 7057
  m_ObjectHideFlags: 0
......
8048 7977
  m_CorrespondingSourceObject: {fileID: 0}
8049 7978
  m_PrefabInstance: {fileID: 0}
8050 7979
  m_PrefabAsset: {fileID: 0}
8051
  m_GameObject: {fileID: 547644088}
7980
  m_GameObject: {fileID: 547644088}
7981
  m_Enabled: 1
7982
  m_EditorHideFlags: 0
7983
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
7984
  m_Name: 
7985
  m_EditorClassIdentifier: 
7986
  m_Material: {fileID: 0}
7987
  m_Color: {r: 0.15, g: 0.15, b: 0.15, a: 1}
7988
  m_RaycastTarget: 1
7989
  m_Maskable: 1
7990
  m_OnCullStateChanged:
7991
    m_PersistentCalls:
7992
      m_Calls: []
7993
  m_FontData:
7994
    m_Font: {fileID: 12800000, guid: 9481e32b30a71424388dc7fa2f08e2d0, type: 3}
7995
    m_FontSize: 24
7996
    m_FontStyle: 0
7997
    m_BestFit: 0
7998
    m_MinSize: 2
7999
    m_MaxSize: 40
8000
    m_Alignment: 4
8001
    m_AlignByGeometry: 0
8002
    m_RichText: 1
8003
    m_HorizontalOverflow: 0
8004
    m_VerticalOverflow: 0
8005
    m_LineSpacing: 1
8006
  m_Text: SET WEATHER MANUALLY
8007
--- !u!222 &547644091
8008
CanvasRenderer:
8009
  m_ObjectHideFlags: 0
8010
  m_CorrespondingSourceObject: {fileID: 0}
8011
  m_PrefabInstance: {fileID: 0}
8012
  m_PrefabAsset: {fileID: 0}
8013
  m_GameObject: {fileID: 547644088}
8014
  m_CullTransparentMesh: 0
8015
--- !u!1 &550097702
8016
GameObject:
8017
  m_ObjectHideFlags: 0
8018
  m_CorrespondingSourceObject: {fileID: 0}
8019
  m_PrefabInstance: {fileID: 0}
8020
  m_PrefabAsset: {fileID: 0}
8021
  serializedVersion: 6
8022
  m_Component:
8023
  - component: {fileID: 550097704}
8024
  - component: {fileID: 550097706}
8025
  - component: {fileID: 550097705}
8026
  - component: {fileID: 550097703}
8027
  m_Layer: 5
8028
  m_Name: InputField
8029
  m_TagString: Untagged
8030
  m_Icon: {fileID: 0}
8031
  m_NavMeshLayer: 0
8032
  m_StaticEditorFlags: 0
8033
  m_IsActive: 1
8034
--- !u!114 &550097703
8035
MonoBehaviour:
8036
  m_ObjectHideFlags: 0
8037
  m_CorrespondingSourceObject: {fileID: 0}
8038
  m_PrefabInstance: {fileID: 0}
8039
  m_PrefabAsset: {fileID: 0}
8040
  m_GameObject: {fileID: 550097702}
8041
  m_Enabled: 1
8042
  m_EditorHideFlags: 0
8043
  m_Script: {fileID: 11500000, guid: d199490a83bb2b844b9695cbf13b01ef, type: 3}
8044
  m_Name: 
8045
  m_EditorClassIdentifier: 
8046
  m_Navigation:
8047
    m_Mode: 3
8048
    m_SelectOnUp: {fileID: 0}
8049
    m_SelectOnDown: {fileID: 0}
8050
    m_SelectOnLeft: {fileID: 0}
8051
    m_SelectOnRight: {fileID: 0}
8052
  m_Transition: 1
8053
  m_Colors:
8054
    m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
8055
    m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
8056
    m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
8057
    m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
8058
    m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
8059
    m_ColorMultiplier: 1
8060
    m_FadeDuration: 0.1
8061
  m_SpriteState:
8062
    m_HighlightedSprite: {fileID: 0}
8063
    m_PressedSprite: {fileID: 0}
8064
    m_SelectedSprite: {fileID: 0}
8065
    m_DisabledSprite: {fileID: 0}
8066
  m_AnimationTriggers:
8067
    m_NormalTrigger: Normal
8068
    m_HighlightedTrigger: Highlighted
8069
    m_PressedTrigger: Pressed
8070
    m_SelectedTrigger: Selected
8071
    m_DisabledTrigger: Disabled
8072
  m_Interactable: 1
8073
  m_TargetGraphic: {fileID: 550097705}
8074
  m_TextComponent: {fileID: 2022364732}
8075
  m_Placeholder: {fileID: 1220019316}
8076
  m_ContentType: 0
8077
  m_InputType: 0
8078
  m_AsteriskChar: 42
8079
  m_KeyboardType: 0
8080
  m_LineType: 0
8081
  m_HideMobileInput: 0
8082
  m_CharacterValidation: 0
8083
  m_CharacterLimit: 0
8084
  m_OnEndEdit:
8085
    m_PersistentCalls:
8086
      m_Calls: []
8087
  m_OnValueChanged:
8088
    m_PersistentCalls:
8089
      m_Calls:
8090
      - m_Target: {fileID: 1687476876}
8091
        m_MethodName: OnInputChanged
8092
        m_Mode: 1
8093
        m_Arguments:
8094
          m_ObjectArgument: {fileID: 0}
8095
          m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
8096
          m_IntArgument: 0
8097
          m_FloatArgument: 0
8098
          m_StringArgument: 
8099
          m_BoolArgument: 0
8100
        m_CallState: 2
8101
  m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
8102
  m_CustomCaretColor: 0
8103
  m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412}
8104
  m_Text: 
8105
  m_CaretBlinkRate: 0.85
8106
  m_CaretWidth: 1
8107
  m_ReadOnly: 0
8108
  m_ShouldActivateOnSelect: 1
8109
--- !u!224 &550097704
8110
RectTransform:
8111
  m_ObjectHideFlags: 0
8112
  m_CorrespondingSourceObject: {fileID: 0}
8113
  m_PrefabInstance: {fileID: 0}
8114
  m_PrefabAsset: {fileID: 0}
8115
  m_GameObject: {fileID: 550097702}
8116
  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
8117
  m_LocalPosition: {x: 0, y: 0, z: 0}
8118
  m_LocalScale: {x: 0.9, y: 0.9, z: 1}
8119
  m_Children:
8120
  - {fileID: 1220019318}
8121
  - {fileID: 2022364730}
8122
  m_Father: {fileID: 2099107657}
8123
  m_RootOrder: 1
8124
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
8125
  m_AnchorMin: {x: 0.5, y: 1}
8126
  m_AnchorMax: {x: 0.5, y: 1}
8127
  m_AnchoredPosition: {x: 0, y: -100}
8128
  m_SizeDelta: {x: 350, y: 40}
8129
  m_Pivot: {x: 0.5, y: 1}
8130
--- !u!114 &550097705
8131
MonoBehaviour:
8132
  m_ObjectHideFlags: 0
8133
  m_CorrespondingSourceObject: {fileID: 0}
8134
  m_PrefabInstance: {fileID: 0}
8135
  m_PrefabAsset: {fileID: 0}
8136
  m_GameObject: {fileID: 550097702}
8052 8137
  m_Enabled: 1
8053 8138
  m_EditorHideFlags: 0
8054
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
8139
  m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
8055 8140
  m_Name: 
8056 8141
  m_EditorClassIdentifier: 
8057 8142
  m_Material: {fileID: 0}
8058
  m_Color: {r: 0.15, g: 0.15, b: 0.15, a: 1}
8143
  m_Color: {r: 1, g: 1, b: 1, a: 1}
8059 8144
  m_RaycastTarget: 1
8060 8145
  m_Maskable: 1
8061 8146
  m_OnCullStateChanged:
8062 8147
    m_PersistentCalls:
8063 8148
      m_Calls: []
8064
  m_FontData:
8065
    m_Font: {fileID: 12800000, guid: 9481e32b30a71424388dc7fa2f08e2d0, type: 3}
8066
    m_FontSize: 24
8067
    m_FontStyle: 0
8068
    m_BestFit: 0
8069
    m_MinSize: 2
8070
    m_MaxSize: 40
8071
    m_Alignment: 4
8072
    m_AlignByGeometry: 0
8073
    m_RichText: 1
8074
    m_HorizontalOverflow: 0
8075
    m_VerticalOverflow: 0
8076
    m_LineSpacing: 1
8077
  m_Text: SET WEATHER MANUALLY
8078
--- !u!222 &547644091
8149
  m_Sprite: {fileID: 21300000, guid: 915f428a07576ec41a126a3bb514df20, type: 3}
8150
  m_Type: 1
8151
  m_PreserveAspect: 0
8152
  m_FillCenter: 1
8153
  m_FillMethod: 4
8154
  m_FillAmount: 1
8155
  m_FillClockwise: 1
8156
  m_FillOrigin: 0
8157
  m_UseSpriteMesh: 0
8158
  m_PixelsPerUnitMultiplier: 2
8159
--- !u!222 &550097706
8079 8160
CanvasRenderer:
8080 8161
  m_ObjectHideFlags: 0
8081 8162
  m_CorrespondingSourceObject: {fileID: 0}
8082 8163
  m_PrefabInstance: {fileID: 0}
8083 8164
  m_PrefabAsset: {fileID: 0}
8084
  m_GameObject: {fileID: 547644088}
8165
  m_GameObject: {fileID: 550097702}
8085 8166
  m_CullTransparentMesh: 0
8086 8167
--- !u!1 &550883723
8087 8168
GameObject:
......
8666 8747
  m_Children:
8667 8748
  - {fileID: 1827524481}
8668 8749
  - {fileID: 1520560997}
8750
  - {fileID: 28716929}
8669 8751
  m_Father: {fileID: 0}
8670 8752
  m_RootOrder: 4
8671 8753
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
......
10830 10912
          m_StringArgument: 
10831 10913
          m_BoolArgument: 0
10832 10914
        m_CallState: 2
10915
      - m_Target: {fileID: 1687476876}
10916
        m_MethodName: OnExit
10917
        m_Mode: 1
10918
        m_Arguments:
10919
          m_ObjectArgument: {fileID: 0}
10920
          m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
10921
          m_IntArgument: 0
10922
          m_FloatArgument: 0
10923
          m_StringArgument: 
10924
          m_BoolArgument: 0
10925
        m_CallState: 2
10833 10926
--- !u!114 &750183184
10834 10927
MonoBehaviour:
10835 10928
  m_ObjectHideFlags: 0
......
12708 12801
  m_AnchorMin: {x: 0, y: 0.5}
12709 12802
  m_AnchorMax: {x: 0, y: 0.5}
12710 12803
  m_AnchoredPosition: {x: 20, y: 0}
12711
  m_SizeDelta: {x: 20, y: 20}
12804
  m_SizeDelta: {x: 0, y: 0}
12712 12805
  m_Pivot: {x: 0.5, y: 0.5}
12713 12806
--- !u!114 &879555340
12714 12807
MonoBehaviour:
......
12729 12822
  m_OnCullStateChanged:
12730 12823
    m_PersistentCalls:
12731 12824
      m_Calls: []
12732
  m_Sprite: {fileID: 10901, guid: 0000000000000000f000000000000000, type: 0}
12825
  m_Sprite: {fileID: 0}
12733 12826
  m_Type: 0
12734 12827
  m_PreserveAspect: 0
12735 12828
  m_FillCenter: 1
......
14077 14170
  weatherIndex: 0
14078 14171
  weatherText: {fileID: 2132748032}
14079 14172
  errorText: {fileID: 935701908}
14173
  forecastText: {fileID: 1805368153}
14080 14174
  weatherButton: {fileID: 1453444307}
14081 14175
  resetWeatherButton: {fileID: 449427171}
14082 14176
  temperatureAnimator: {fileID: 714623195}
......
17782 17876
  m_Name: 
17783 17877
  m_EditorClassIdentifier: 
17784 17878
  builidngName: KLAT
17879
--- !u!1 &1220019315
17880
GameObject:
17881
  m_ObjectHideFlags: 0
17882
  m_CorrespondingSourceObject: {fileID: 0}
17883
  m_PrefabInstance: {fileID: 0}
17884
  m_PrefabAsset: {fileID: 0}
17885
  serializedVersion: 6
17886
  m_Component:
17887
  - component: {fileID: 1220019318}
17888
  - component: {fileID: 1220019317}
17889
  - component: {fileID: 1220019316}
17890
  m_Layer: 5
17891
  m_Name: Placeholder
17892
  m_TagString: Untagged
17893
  m_Icon: {fileID: 0}
17894
  m_NavMeshLayer: 0
17895
  m_StaticEditorFlags: 0
17896
  m_IsActive: 1
17897
--- !u!114 &1220019316
17898
MonoBehaviour:
17899
  m_ObjectHideFlags: 0
17900
  m_CorrespondingSourceObject: {fileID: 0}
17901
  m_PrefabInstance: {fileID: 0}
17902
  m_PrefabAsset: {fileID: 0}
17903
  m_GameObject: {fileID: 1220019315}
17904
  m_Enabled: 1
17905
  m_EditorHideFlags: 0
17906
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
17907
  m_Name: 
17908
  m_EditorClassIdentifier: 
17909
  m_Material: {fileID: 0}
17910
  m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 0.5}
17911
  m_RaycastTarget: 1
17912
  m_Maskable: 1
17913
  m_OnCullStateChanged:
17914
    m_PersistentCalls:
17915
      m_Calls: []
17916
  m_FontData:
17917
    m_Font: {fileID: 12800000, guid: 9481e32b30a71424388dc7fa2f08e2d0, type: 3}
17918
    m_FontSize: 20
17919
    m_FontStyle: 2
17920
    m_BestFit: 0
17921
    m_MinSize: 2
17922
    m_MaxSize: 40
17923
    m_Alignment: 3
17924
    m_AlignByGeometry: 0
17925
    m_RichText: 1
17926
    m_HorizontalOverflow: 0
17927
    m_VerticalOverflow: 0
17928
    m_LineSpacing: 1
17929
  m_Text: Enter text...
17930
--- !u!222 &1220019317
17931
CanvasRenderer:
17932
  m_ObjectHideFlags: 0
17933
  m_CorrespondingSourceObject: {fileID: 0}
17934
  m_PrefabInstance: {fileID: 0}
17935
  m_PrefabAsset: {fileID: 0}
17936
  m_GameObject: {fileID: 1220019315}
17937
  m_CullTransparentMesh: 0
17938
--- !u!224 &1220019318
17939
RectTransform:
17940
  m_ObjectHideFlags: 0
17941
  m_CorrespondingSourceObject: {fileID: 0}
17942
  m_PrefabInstance: {fileID: 0}
17943
  m_PrefabAsset: {fileID: 0}
17944
  m_GameObject: {fileID: 1220019315}
17945
  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
17946
  m_LocalPosition: {x: 0, y: 0, z: 0}
17947
  m_LocalScale: {x: 1, y: 1, z: 1}
17948
  m_Children: []
17949
  m_Father: {fileID: 550097704}
17950
  m_RootOrder: 0
17951
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
17952
  m_AnchorMin: {x: 0, y: 0}
17953
  m_AnchorMax: {x: 1, y: 1}
17954
  m_AnchoredPosition: {x: 0, y: -0.5}
17955
  m_SizeDelta: {x: -20, y: -13}
17956
  m_Pivot: {x: 0.5, y: 0.5}
17785 17957
--- !u!1 &1223674621
17786 17958
GameObject:
17787 17959
  m_ObjectHideFlags: 0
......
23345 23517
  m_SortingBucketNormalizedSize: 0
23346 23518
  m_AdditionalShaderChannelsFlag: 0
23347 23519
  m_SortingLayerID: 0
23348
  m_SortingOrder: -1
23520
  m_SortingOrder: -2
23349 23521
  m_TargetDisplay: 0
23350 23522
--- !u!225 &1520561001
23351 23523
CanvasGroup:
......
23577 23749
  m_AnchorMin: {x: 0, y: 1}
23578 23750
  m_AnchorMax: {x: 1, y: 1}
23579 23751
  m_AnchoredPosition: {x: 0, y: 0}
23580
  m_SizeDelta: {x: 0, y: 28}
23752
  m_SizeDelta: {x: 0, y: 40}
23581 23753
  m_Pivot: {x: 0.5, y: 1}
23582 23754
--- !u!1001 &1543730015
23583 23755
PrefabInstance:
......
25666 25838
  m_Icon: {fileID: 0}
25667 25839
  m_NavMeshLayer: 0
25668 25840
  m_StaticEditorFlags: 0
25669
  m_IsActive: 0
25841
  m_IsActive: 1
25670 25842
--- !u!224 &1687476873
25671 25843
RectTransform:
25672 25844
  m_ObjectHideFlags: 0
......
25740 25912
  mapRenderer: {fileID: 1827524482}
25741 25913
  panel: {fileID: 1687476872}
25742 25914
  setBuildingButton: {fileID: 244320316}
25915
  input: {fileID: 550097703}
25916
  suggestion: {fileID: 11246239}
25743 25917
--- !u!1 &1687600170
25744 25918
GameObject:
25745 25919
  m_ObjectHideFlags: 0
......
26360 26534
  - {fileID: 1163171920}
26361 26535
  - {fileID: 924234297}
26362 26536
  - {fileID: 2034067900}
26537
  - {fileID: 1805368152}
26363 26538
  m_Father: {fileID: 423734338}
26364 26539
  m_RootOrder: 2
26365 26540
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
......
27512 27687
  m_PrefabAsset: {fileID: 0}
27513 27688
  m_GameObject: {fileID: 1801102822}
27514 27689
  m_CullTransparentMesh: 0
27690
--- !u!1 &1805368151
27691
GameObject:
27692
  m_ObjectHideFlags: 0
27693
  m_CorrespondingSourceObject: {fileID: 0}
27694
  m_PrefabInstance: {fileID: 0}
27695
  m_PrefabAsset: {fileID: 0}
27696
  serializedVersion: 6
27697
  m_Component:
27698
  - component: {fileID: 1805368152}
27699
  - component: {fileID: 1805368154}
27700
  - component: {fileID: 1805368153}
27701
  m_Layer: 5
27702
  m_Name: ForecastType
27703
  m_TagString: Untagged
27704
  m_Icon: {fileID: 0}
27705
  m_NavMeshLayer: 0
27706
  m_StaticEditorFlags: 0
27707
  m_IsActive: 1
27708
--- !u!224 &1805368152
27709
RectTransform:
27710
  m_ObjectHideFlags: 0
27711
  m_CorrespondingSourceObject: {fileID: 0}
27712
  m_PrefabInstance: {fileID: 0}
27713
  m_PrefabAsset: {fileID: 0}
27714
  m_GameObject: {fileID: 1805368151}
27715
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
27716
  m_LocalPosition: {x: 0, y: 0, z: 0}
27717
  m_LocalScale: {x: 1, y: 1, z: 1}
27718
  m_Children: []
27719
  m_Father: {fileID: 1733224993}
27720
  m_RootOrder: 4
27721
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
27722
  m_AnchorMin: {x: 0, y: 1}
27723
  m_AnchorMax: {x: 1, y: 1}
27724
  m_AnchoredPosition: {x: 0, y: -125}
27725
  m_SizeDelta: {x: 0, y: 30}
27726
  m_Pivot: {x: 0.5, y: 1}
27727
--- !u!114 &1805368153
27728
MonoBehaviour:
27729
  m_ObjectHideFlags: 0
27730
  m_CorrespondingSourceObject: {fileID: 0}
27731
  m_PrefabInstance: {fileID: 0}
27732
  m_PrefabAsset: {fileID: 0}
27733
  m_GameObject: {fileID: 1805368151}
27734
  m_Enabled: 1
27735
  m_EditorHideFlags: 0
27736
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
27737
  m_Name: 
27738
  m_EditorClassIdentifier: 
27739
  m_Material: {fileID: 0}
27740
  m_Color: {r: 0.85, g: 0.85, b: 0.85, a: 1}
27741
  m_RaycastTarget: 1
27742
  m_Maskable: 1
27743
  m_OnCullStateChanged:
27744
    m_PersistentCalls:
27745
      m_Calls: []
27746
  m_FontData:
27747
    m_Font: {fileID: 12800000, guid: 9481e32b30a71424388dc7fa2f08e2d0, type: 3}
27748
    m_FontSize: 20
27749
    m_FontStyle: 0
27750
    m_BestFit: 0
27751
    m_MinSize: 0
27752
    m_MaxSize: 40
27753
    m_Alignment: 4
27754
    m_AlignByGeometry: 0
27755
    m_RichText: 1
27756
    m_HorizontalOverflow: 0
27757
    m_VerticalOverflow: 0
27758
    m_LineSpacing: 1
27759
  m_Text: AUTOMATIC FORECAST
27760
--- !u!222 &1805368154
27761
CanvasRenderer:
27762
  m_ObjectHideFlags: 0
27763
  m_CorrespondingSourceObject: {fileID: 0}
27764
  m_PrefabInstance: {fileID: 0}
27765
  m_PrefabAsset: {fileID: 0}
27766
  m_GameObject: {fileID: 1805368151}
27767
  m_CullTransparentMesh: 0
27515 27768
--- !u!1001 &1807483780
27516 27769
PrefabInstance:
27517 27770
  m_ObjectHideFlags: 0
......
28058 28311
  m_Name: 
28059 28312
  m_EditorClassIdentifier: 
28060 28313
  sceneManager: {fileID: 1446501678}
28314
  labelCanvas: {fileID: 28716932}
28315
  labelPrefab: {fileID: 2200878503183782622, guid: 346106f8583ff85499c5966500ad6102,
28316
    type: 3}
28061 28317
  underlayTemplate: {fileID: 6353782347770371216, guid: 74b5227b733784b449327a9a52b751a6,
28062 28318
    type: 3}
28063 28319
  overlayTemplate: {fileID: 6177358606749812705, guid: cbae417372ce719448123b88f12d4eec,
......
29789 30045
  text: {fileID: 491682258}
29790 30046
  mapLegend: {fileID: 312072052}
29791 30047
  tableLegend: {fileID: 216146134}
30048
  findBuildingBtn: {fileID: 244320316}
29792 30049
  toTable: TO TABLE
29793 30050
  toMap: TO MAP
29794 30051
--- !u!1 &1963047962
......
31287 31544
  m_PrefabAsset: {fileID: 0}
31288 31545
  m_GameObject: {fileID: 2020527456}
31289 31546
  m_CullTransparentMesh: 0
31547
--- !u!1 &2022364729
31548
GameObject:
31549
  m_ObjectHideFlags: 0
31550
  m_CorrespondingSourceObject: {fileID: 0}
31551
  m_PrefabInstance: {fileID: 0}
31552
  m_PrefabAsset: {fileID: 0}
31553
  serializedVersion: 6
31554
  m_Component:
31555
  - component: {fileID: 2022364730}
31556
  - component: {fileID: 2022364731}
31557
  - component: {fileID: 2022364732}
31558
  m_Layer: 5
31559
  m_Name: Text
31560
  m_TagString: Untagged
31561
  m_Icon: {fileID: 0}
31562
  m_NavMeshLayer: 0
31563
  m_StaticEditorFlags: 0
31564
  m_IsActive: 1
31565
--- !u!224 &2022364730
31566
RectTransform:
31567
  m_ObjectHideFlags: 0
31568
  m_CorrespondingSourceObject: {fileID: 0}
31569
  m_PrefabInstance: {fileID: 0}
31570
  m_PrefabAsset: {fileID: 0}
31571
  m_GameObject: {fileID: 2022364729}
31572
  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
31573
  m_LocalPosition: {x: 0, y: 0, z: 0}
31574
  m_LocalScale: {x: 1, y: 1, z: 1}
31575
  m_Children: []
31576
  m_Father: {fileID: 550097704}
31577
  m_RootOrder: 1
31578
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
31579
  m_AnchorMin: {x: 0, y: 0}
31580
  m_AnchorMax: {x: 1, y: 1}
31581
  m_AnchoredPosition: {x: 0, y: -0.5}
31582
  m_SizeDelta: {x: -20, y: -13}
31583
  m_Pivot: {x: 0.5, y: 0.5}
31584
--- !u!222 &2022364731
31585
CanvasRenderer:
31586
  m_ObjectHideFlags: 0
31587
  m_CorrespondingSourceObject: {fileID: 0}
31588
  m_PrefabInstance: {fileID: 0}
31589
  m_PrefabAsset: {fileID: 0}
31590
  m_GameObject: {fileID: 2022364729}
31591
  m_CullTransparentMesh: 0
31592
--- !u!114 &2022364732
31593
MonoBehaviour:
31594
  m_ObjectHideFlags: 0
31595
  m_CorrespondingSourceObject: {fileID: 0}
31596
  m_PrefabInstance: {fileID: 0}
31597
  m_PrefabAsset: {fileID: 0}
31598
  m_GameObject: {fileID: 2022364729}
31599
  m_Enabled: 1
31600
  m_EditorHideFlags: 0
31601
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
31602
  m_Name: 
31603
  m_EditorClassIdentifier: 
31604
  m_Material: {fileID: 0}
31605
  m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
31606
  m_RaycastTarget: 1
31607
  m_Maskable: 1
31608
  m_OnCullStateChanged:
31609
    m_PersistentCalls:
31610
      m_Calls: []
31611
  m_FontData:
31612
    m_Font: {fileID: 12800000, guid: 9481e32b30a71424388dc7fa2f08e2d0, type: 3}
31613
    m_FontSize: 20
31614
    m_FontStyle: 0
31615
    m_BestFit: 0
31616
    m_MinSize: 2
31617
    m_MaxSize: 40
31618
    m_Alignment: 3
31619
    m_AlignByGeometry: 0
31620
    m_RichText: 0
31621
    m_HorizontalOverflow: 1
31622
    m_VerticalOverflow: 0
31623
    m_LineSpacing: 1
31624
  m_Text: 
31290 31625
--- !u!1001 &2028450461
31291 31626
PrefabInstance:
31292 31627
  m_ObjectHideFlags: 0
......
32503 32838
  m_LocalPosition: {x: 0, y: 0, z: 0}
32504 32839
  m_LocalScale: {x: 1, y: 1, z: 1}
32505 32840
  m_Children:
32506
  - {fileID: 345387603}
32841
  - {fileID: 11246238}
32842
  - {fileID: 550097704}
32507 32843
  m_Father: {fileID: 1450781057}
32508 32844
  m_RootOrder: 2
32509 32845
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
Client/Client/Assets/Scripts/MapRenderer.cs
9 9
    [SerializeField]
10 10
    public SceneManager sceneManager;
11 11

  
12
    [SerializeField]
13
    public Canvas labelCanvas;
14

  
15
    [SerializeField]
16
    public GameObject labelPrefab;
17

  
12 18
    [SerializeField]
13 19
    private SpriteRenderer underlayTemplate;
14 20

  
......
100 106
                var name = split[0].Substring(0, split[0].Length - 4);
101 107
                var xoff = float.Parse(split[1]);
102 108
                var yoff = float.Parse(split[2]);
109
                var xmed = float.Parse(split[3]);
110
                var ymed = float.Parse(split[4]);
103 111

  
104 112
                var img = overlay[name];
105 113

  
......
111 119
                    var xshift = -bounds.size.x / 2 + imgbounds.size.x / 2 + bounds.size.x * (xoff / 100);
112 120
                    var yshift = -bounds.size.y / 2 + imgbounds.size.y / 2 + bounds.size.y * (yoff / 100);
113 121

  
122
                    var xmedshift = -bounds.size.x / 2 + imgbounds.size.x / 2 + bounds.size.x * (xmed / 100);
123
                    var ymedshift = -bounds.size.y / 2 + imgbounds.size.y / 2 + bounds.size.y * (ymed / 100);
124

  
114 125
                    img.gameObject.transform.position = bounds.center + new Vector3(xshift, yshift, 0);
126

  
127
                    var label = Instantiate(labelPrefab, labelCanvas.transform);
128
                    var labelText = label.GetComponentInChildren<Text>();
129
                    labelText.text = name.ToUpper();
130
                    label.name = labelText.text;
131

  
132
                    PositionUpdater posup = label.GetComponent<PositionUpdater>();
133
                    posup.source = img.gameObject;
134

  
135
                    RectTransform rect = label.GetComponent<RectTransform>();
136
                    Vector3 newPosition = Camera.main.WorldToScreenPoint(bounds.center + new Vector3(xmedshift, ymedshift, 0));
137
                    rect.position = newPosition;
115 138
                }
116 139
                else
117 140
                {
Client/Client/Assets/Scripts/UI/BuildingPanel.cs
1 1
using System.Collections;
2 2
using System.Collections.Generic;
3 3
using UnityEngine;
4
using UnityEngine.EventSystems;
4 5
using UnityEngine.UI;
5 6

  
6 7
public class BuildingPanel : PopUpPanel
7 8
{
8 9
    public Button setBuildingButton;
10
    public InputField input;
11
    public Dropdown suggestion;
9 12

  
10 13
    public void OnSetBuildingButton()
11 14
    {
12 15
        OnExitButtonClicked();
13 16
    }
14 17

  
18
    public void OnInputChanged()
19
    {
20
        suggestion.Show();
21
        EventSystem.current.SetSelectedGameObject(input.gameObject);
22
        if (isActiveAndEnabled) StartCoroutine(MoveCaretToEnd());
23
    }
24

  
25
    IEnumerator MoveCaretToEnd()
26
    {
27
        yield return 0;
28
        input.MoveTextEnd(false);
29
    }
30

  
31
    public void OnExit()
32
    {
33
        input.text = "";
34
        suggestion.Hide();
35
        OnExitButtonClicked();
36
    }
37

  
15 38
}
Client/Client/Assets/Scripts/UI/DatePicker.cs
1 1
using System.Collections;
2 2
using System.Collections.Generic;
3 3
using UnityEngine;
4
using UnityEngine.EventSystems;
4 5
using UnityEngine.UI;
5 6

  
6 7
public class DatePicker : MonoBehaviour
......
10 11
    public void ClosePanel()
11 12
    {
12 13
        // set nothing
14
        CalendarDayButton.day = -1;
15
        EventSystem.current.SetSelectedGameObject(null);
13 16
        this.gameObject.SetActive(false);
14 17
    }
15 18

  
......
18 21
        toSet.day = CalendarDayButton.day;
19 22
        toSet.month = CalendarMonth.month;
20 23
        toSet.year = CalendarYear.year;
24

  
25
        CalendarDayButton.day = -1;
26
        EventSystem.current.SetSelectedGameObject(null);
21 27
        this.gameObject.SetActive(false);
22 28
    }
23 29
}
Client/Client/Assets/Scripts/UI/MapSwapper.cs
13 13
    public GameObject mapLegend;
14 14
    public GameObject tableLegend;
15 15

  
16
    public Button findBuildingBtn;
17

  
16 18
    public string toTable;
17 19
    public string toMap;
18 20

  
......
37 39
            canvas.alpha = 1;
38 40
            text.text = toMap;
39 41

  
42
            findBuildingBtn.interactable = false;
40 43
            mapLegend.SetActive(false);
41 44
            tableLegend.SetActive(true);
42 45

  
......
56 59
            canvas.alpha = 0;
57 60
            text.text = toTable;
58 61

  
62
            findBuildingBtn.interactable = true;
59 63
            mapLegend.SetActive(true);
60 64
            tableLegend.SetActive(false);
61 65
        }
Client/Client/Assets/Scripts/UI/PositionUpdater.cs
1
using System.Collections;
2
using System.Collections.Generic;
3
using UnityEngine;
4

  
5
public class PositionUpdater : MonoBehaviour
6
{
7
    public GameObject source;
8
    private RectTransform rect;
9

  
10
    void Start()
11
    {
12
        rect = GetComponent<RectTransform>();
13
    }
14

  
15
    // Update is called once per frame
16
    void Update()
17
    {
18
        Vector3 newPosition = Camera.main.WorldToScreenPoint(source.transform.position);
19
        rect.position = newPosition;
20
    }
21
}
Client/Client/Assets/Scripts/UI/PositionUpdater.cs.meta
1
fileFormatVersion: 2
2
guid: b9eadbb4d9cd1094fb9af922b023c6b9
3
MonoImporter:
4
  externalObjects: {}
5
  serializedVersion: 2
6
  defaultReferences: []
7
  executionOrder: 0
8
  icon: {instanceID: 0}
9
  userData: 
10
  assetBundleName: 
11
  assetBundleVariant: 
Client/Client/Assets/Scripts/UI/WeatherPanel.cs
15 15

  
16 16
    public Text weatherText;
17 17
    public Text errorText;
18
    public Text forecastText;
18 19

  
19 20
    public Button weatherButton;
20 21
    public Button resetWeatherButton;
......
114 115
            return;
115 116
        }
116 117

  
118

  
119
        forecastText.text = "MANUAL FORECAST";
117 120
        errorText.gameObject.SetActive(false);
118 121
        weatherManager.useOwnWeather = true;
119 122
        weatherManager.data.SetValues(temperatureValue, windValue, rainValue, weatherValue);
......
125 128

  
126 129
    public void OnResetWeatherButtonPressed()
127 130
    {
131
        forecastText.text = "AUTOMATIC FORECAST";
128 132
        weatherManager.useOwnWeather = false;
129 133
        rushManager.ResetRush();
130 134
    }
Client/Client/Assets/Scripts/Weather/Parser/JsonParser.cs
1 1
//
2 2
// Author: A. Konig
3 3
//
4

  
5 4
using ServerApp.Parser.OutputInfo;
6 5
using System;
7 6
using System.Collections.Generic;
8 7
using System.Globalization;
9
using System.IO;
10
using System.Net;
11 8
using System.Text.Json;
12 9
using UnityEngine;
13 10
using static System.Text.Json.JsonElement;
......
18 15
    /// Class representing a parser for json prediction data
19 16
    /// </summary>
20 17
    /// <author>A. Konig</author>
21
    class JsonParser : IJsonParser
18
    public class JsonParser
22 19
    {
23
        /// <summary> Current weather </summary>
24
        WeatherInfo current;
25
        public new WeatherInfo Current { get => current; }
26
        /// <summary> Prediction for today, tommorrow and day after tommorrow </summary>
27
        List<WeatherInfo> predictions;
28
        public new List<WeatherInfo> Predictions { get => predictions; set => predictions = value; }
29

  
30
        /// <summary> Path to json file </summary>
31
        string pathToFile = "http://wttr.in/Plzen,czechia?format=j1";
32 20
        /// <summary> Currently parsed day </summary>
33 21
        DateTime currParsedDay;
34 22
        /// <summary> Sunrise time of currently parsed day </summary>
35
        DateTime sunriseTime;
23
        List<DateTime> sunriseTime;
36 24
        /// <summary> Sunset time of currently parsed day </summary>
37
        DateTime sunsetTime;
25
        List<DateTime> sunsetTime;
38 26

  
27
        /// <summary> Current weather </summary>
28
        WeatherInfo current;
29
        public WeatherInfo Current { get => current; set => current = value; }
30

  
31
        /// <summary> Prediction for today, tommorrow and day after tommorrow (or for days more/less into the future) </summary>
32
        List<WeatherInfo> predictions;
33
        public List<WeatherInfo> Predictions { get => predictions; set => predictions = value; }
39 34

  
40
        /// <summary>
41
        /// Constructor
42
        /// </summary>
43
        /// <param name="loader"></param>
44
        public JsonParser(string pathToFile)
45
        {
46
            this.pathToFile = pathToFile;
47
        }
48 35

  
49 36
        /// <summary>
50
        /// Downloads json file
37
        /// Get predictions from Predictions that are within specified time span
38
        /// From-to including
39
        /// If from == DateTime.Min then all until to
40
        /// If to  == DateTime.Max then all starting from from
51 41
        /// </summary>
52
        /// <returns> Path to file </returns>
53
        private string DownloadWeatherPrediction()
42
        /// <param name="from">DateTime from</param>
43
        /// <param name="to">DateTime to</param>
44
        /// <returns>List of predictions that fit specified criteria or null if incorrect input</returns>
45
        public List<WeatherInfo> GetPredictionForTime(DateTime from, DateTime to)
54 46
        {
55
            //DateTime now = DateTime.Now;
56
            //WebClient webClient = new WebClient();
47
            if (Predictions == null)
48
                return null;
57 49

  
58
            //if (!Directory.Exists("data"))
59
            //    Directory.CreateDirectory("data");
50
            List<WeatherInfo> res = new List<WeatherInfo>();
60 51

  
61
            //webClient.DownloadFile(pathToFile, $"data/{now.Year}{now.Month}{now.Day}.json");
52
            if (from == DateTime.MinValue)
53
                from = Predictions[0].startTime;
62 54

  
63
            //return $"data/{now.Year}{now.Month}{now.Day}.json";
55
            if (to == DateTime.MaxValue)
56
            {
57
                DateTime dt = Predictions[Predictions.Count - 1].startTime;
58
                int hour = dt.Hour + Predictions[Predictions.Count - 1].intervalLength;
59
                bool addDay = false;
60
                if (hour >= 24)
61
                {
62
                    hour -= 24;
63
                    addDay = true;
64
                }
65
                to = new DateTime(dt.Year, dt.Month, dt.Day, hour, dt.Minute, dt.Second);
66
                if (addDay)
67
                    to = to.AddDays(1);
68
            }
69

  
70
            if (from > to)
71
                return null;
72

  
73
            // for all parsed weather info
74
            foreach (WeatherInfo pred in Predictions)
75
            {
76
                int hour = pred.startTime.Hour + pred.intervalLength;
77
                bool addDay = false;
78
                if (hour >= 24)
79
                {
80
                    hour -= 24;
81
                    addDay = true;
82
                }
83
                DateTime endTime = new DateTime(pred.startTime.Year, pred.startTime.Month, pred.startTime.Day, hour, pred.startTime.Minute, pred.startTime.Second);
84
                if (addDay)
85
                    endTime = endTime.AddDays(1);
86

  
87
                // if both end and start not outside of interval
88
                if (!((pred.startTime < from && endTime <= from) || (pred.startTime > to && endTime > to)))
89
                    res.Add(pred);
90
            }
64 91

  
65
            return "";
92
            return res;
66 93
        }
67 94

  
95

  
68 96
        /// <summary>
69 97
        /// Parse weather prediction
70 98
        /// Results is in attributes current for current weather and pred for weather prediction for today, tommorrow and day after tommorrow
71 99
        /// </summary>
72
        override public void ParsePrediction(string data)
100
        public void ParsePrediction(string data)
73 101
        {
74
            // TODO ask DataDownloader for download said file and return path to it
75
            
76
            // get file
77
            DateTime now = DateTime.Now;
78
            // Console.WriteLine(File.Exists(file));
102
            sunriseTime = new List<DateTime>();
103
            sunsetTime = new List<DateTime>();
79 104

  
80
            current = new WeatherInfo();
81
            predictions = new List<WeatherInfo>();
105
            Current = new WeatherInfo();
106
            Predictions = new List<WeatherInfo>();
82 107

  
83
            // if (!File.Exists(file))
84
            //     return;
85
            // 
86
            // // read file
87
            // string data = File.ReadAllText(file);
108
            if (data == null || data.Length == 0)
109
                return;
88 110

  
89 111
            // parse
90
            JsonDocument doc = JsonDocument.Parse(data);
91
            JsonElement root = doc.RootElement;
92
            var weatherP = root.EnumerateObject();
93

  
94
            while (weatherP.MoveNext())
... Rozdílový soubor je zkrácen, protože jeho délka přesahuje max. limit.

Také k dispozici: Unified diff