Commit 07f37f8add006fb9e642a8a4dde044bf61632f87

Authored by Icaro Magalhaes
1 parent 26be0242
Exists in master

Adicionando Fade aos controles e desabilitando botoes via tags, restaurando inte…

…rface original e skins padroes
Assets/Prefabs/CanvasWeb.prefab
... ... @@ -14,7 +14,7 @@ GameObject:
14 14 - 114: {fileID: 11491450}
15 15 m_Layer: 5
16 16 m_Name: Play
17   - m_TagString: Untagged
  17 + m_TagString: BUTTONS
18 18 m_Icon: {fileID: 0}
19 19 m_NavMeshLayer: 0
20 20 m_StaticEditorFlags: 0
... ... @@ -51,7 +51,7 @@ GameObject:
51 51 m_Icon: {fileID: 0}
52 52 m_NavMeshLayer: 0
53 53 m_StaticEditorFlags: 0
54   - m_IsActive: 1
  54 + m_IsActive: 0
55 55 --- !u!1 &112370
56 56 GameObject:
57 57 m_ObjectHideFlags: 1
... ... @@ -83,7 +83,7 @@ GameObject:
83 83 - 114: {fileID: 11431262}
84 84 m_Layer: 5
85 85 m_Name: Sub
86   - m_TagString: Untagged
  86 + m_TagString: BUTTONS
87 87 m_Icon: {fileID: 0}
88 88 m_NavMeshLayer: 0
89 89 m_StaticEditorFlags: 0
... ... @@ -151,7 +151,7 @@ GameObject:
151 151 - 114: {fileID: 11465350}
152 152 m_Layer: 5
153 153 m_Name: SpeedUp
154   - m_TagString: Untagged
  154 + m_TagString: FADENEEDED
155 155 m_Icon: {fileID: 0}
156 156 m_NavMeshLayer: 0
157 157 m_StaticEditorFlags: 0
... ... @@ -167,9 +167,10 @@ GameObject:
167 167 - 222: {fileID: 22260850}
168 168 - 114: {fileID: 11421050}
169 169 - 114: {fileID: 11402540}
  170 + - 114: {fileID: 11449564}
170 171 m_Layer: 5
171 172 m_Name: BAR
172   - m_TagString: Untagged
  173 + m_TagString: FADENEEDED
173 174 m_Icon: {fileID: 0}
174 175 m_NavMeshLayer: 0
175 176 m_StaticEditorFlags: 0
... ... @@ -188,7 +189,7 @@ GameObject:
188 189 - 114: {fileID: 11494190}
189 190 m_Layer: 5
190 191 m_Name: Stop
191   - m_TagString: Untagged
  192 + m_TagString: BUTTONS
192 193 m_Icon: {fileID: 0}
193 194 m_NavMeshLayer: 0
194 195 m_StaticEditorFlags: 0
... ... @@ -224,13 +225,14 @@ GameObject:
224 225 - 222: {fileID: 22239276}
225 226 - 114: {fileID: 11463182}
226 227 - 114: {fileID: 11486340}
  228 + - 114: {fileID: 11458184}
227 229 m_Layer: 5
228 230 m_Name: HideBar
229   - m_TagString: Untagged
  231 + m_TagString: FADENEEDED
230 232 m_Icon: {fileID: 0}
231 233 m_NavMeshLayer: 0
232 234 m_StaticEditorFlags: 0
233   - m_IsActive: 1
  235 + m_IsActive: 0
234 236 --- !u!1 &143508
235 237 GameObject:
236 238 m_ObjectHideFlags: 1
... ... @@ -277,7 +279,7 @@ GameObject:
277 279 - 114: {fileID: 11415132}
278 280 m_Layer: 5
279 281 m_Name: Fill
280   - m_TagString: Untagged
  282 + m_TagString: FADENEEDED
281 283 m_Icon: {fileID: 0}
282 284 m_NavMeshLayer: 0
283 285 m_StaticEditorFlags: 0
... ... @@ -294,7 +296,7 @@ GameObject:
294 296 - 114: {fileID: 11435148}
295 297 m_Layer: 5
296 298 m_Name: Background
297   - m_TagString: Untagged
  299 + m_TagString: FADENEEDED
298 300 m_Icon: {fileID: 0}
299 301 m_NavMeshLayer: 0
300 302 m_StaticEditorFlags: 0
... ... @@ -312,7 +314,7 @@ GameObject:
312 314 - 114: {fileID: 11483004}
313 315 m_Layer: 5
314 316 m_Name: SpeedDown
315   - m_TagString: Untagged
  317 + m_TagString: FADENEEDED
316 318 m_Icon: {fileID: 0}
317 319 m_NavMeshLayer: 0
318 320 m_StaticEditorFlags: 0
... ... @@ -334,7 +336,7 @@ GameObject:
334 336 m_Icon: {fileID: 0}
335 337 m_NavMeshLayer: 0
336 338 m_StaticEditorFlags: 0
337   - m_IsActive: 1
  339 + m_IsActive: 0
338 340 --- !u!1 &193898
339 341 GameObject:
340 342 m_ObjectHideFlags: 1
... ... @@ -346,9 +348,10 @@ GameObject:
346 348 - 222: {fileID: 22258260}
347 349 - 114: {fileID: 11462204}
348 350 - 114: {fileID: 11466498}
  351 + - 114: {fileID: 11428708}
349 352 m_Layer: 5
350 353 m_Name: Handle
351   - m_TagString: Untagged
  354 + m_TagString: BUTTONS
352 355 m_Icon: {fileID: 0}
353 356 m_NavMeshLayer: 0
354 357 m_StaticEditorFlags: 0
... ... @@ -409,7 +412,7 @@ MonoBehaviour:
409 412 m_Name:
410 413 m_EditorClassIdentifier:
411 414 m_Navigation:
412   - m_Mode: 3
  415 + m_Mode: 0
413 416 m_SelectOnUp: {fileID: 0}
414 417 m_SelectOnDown: {fileID: 0}
415 418 m_SelectOnLeft: {fileID: 0}
... ... @@ -418,8 +421,8 @@ MonoBehaviour:
418 421 m_Colors:
419 422 m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
420 423 m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1}
421   - m_PressedColor: {r: .180392161, g: .200000018, b: .239215702, a: 1}
422   - m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
  424 + m_PressedColor: {r: .270588249, g: .282352954, b: .305882365, a: 1}
  425 + m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .243137255}
423 426 m_ColorMultiplier: 1
424 427 m_FadeDuration: .100000001
425 428 m_SpriteState:
... ... @@ -510,7 +513,7 @@ MonoBehaviour:
510 513 m_Name:
511 514 m_EditorClassIdentifier:
512 515 m_Navigation:
513   - m_Mode: 3
  516 + m_Mode: 0
514 517 m_SelectOnUp: {fileID: 0}
515 518 m_SelectOnDown: {fileID: 0}
516 519 m_SelectOnLeft: {fileID: 0}
... ... @@ -519,8 +522,8 @@ MonoBehaviour:
519 522 m_Colors:
520 523 m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
521 524 m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1}
522   - m_PressedColor: {r: .180392161, g: .200000018, b: .239215702, a: 1}
523   - m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
  525 + m_PressedColor: {r: .270588249, g: .282352954, b: .305882365, a: 1}
  526 + m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .243137255}
524 527 m_ColorMultiplier: 1
525 528 m_FadeDuration: .100000001
526 529 m_SpriteState:
... ... @@ -662,6 +665,47 @@ MonoBehaviour:
662 665 m_SelectionColor: {r: .65882355, g: .807843149, b: 1, a: .752941191}
663 666 m_Text:
664 667 m_CaretBlinkRate: 1.70000005
  668 +--- !u!114 &11428708
  669 +MonoBehaviour:
  670 + m_ObjectHideFlags: 1
  671 + m_PrefabParentObject: {fileID: 0}
  672 + m_PrefabInternal: {fileID: 100100000}
  673 + m_GameObject: {fileID: 193898}
  674 + m_Enabled: 1
  675 + m_EditorHideFlags: 0
  676 + m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
  677 + m_Name:
  678 + m_EditorClassIdentifier:
  679 + m_Navigation:
  680 + m_Mode: 3
  681 + m_SelectOnUp: {fileID: 0}
  682 + m_SelectOnDown: {fileID: 0}
  683 + m_SelectOnLeft: {fileID: 0}
  684 + m_SelectOnRight: {fileID: 0}
  685 + m_Transition: 1
  686 + m_Colors:
  687 + m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
  688 + m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1}
  689 + m_PressedColor: {r: .270588249, g: .282352954, b: .305882365, a: 1}
  690 + m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .243137255}
  691 + m_ColorMultiplier: 1
  692 + m_FadeDuration: .100000001
  693 + m_SpriteState:
  694 + m_HighlightedSprite: {fileID: 0}
  695 + m_PressedSprite: {fileID: 0}
  696 + m_DisabledSprite: {fileID: 0}
  697 + m_AnimationTriggers:
  698 + m_NormalTrigger: Normal
  699 + m_HighlightedTrigger: Highlighted
  700 + m_PressedTrigger: Pressed
  701 + m_DisabledTrigger: Disabled
  702 + m_Interactable: 1
  703 + m_TargetGraphic: {fileID: 11462204}
  704 + m_OnClick:
  705 + m_PersistentCalls:
  706 + m_Calls: []
  707 + m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
  708 + Culture=neutral, PublicKeyToken=null
665 709 --- !u!114 &11431262
666 710 MonoBehaviour:
667 711 m_ObjectHideFlags: 1
... ... @@ -881,6 +925,17 @@ MonoBehaviour:
881 925 m_EffectColor: {r: 0, g: 0, b: 0, a: .5}
882 926 m_EffectDistance: {x: 1, y: -1}
883 927 m_UseGraphicAlpha: 1
  928 +--- !u!114 &11449564
  929 +MonoBehaviour:
  930 + m_ObjectHideFlags: 1
  931 + m_PrefabParentObject: {fileID: 0}
  932 + m_PrefabInternal: {fileID: 100100000}
  933 + m_GameObject: {fileID: 131276}
  934 + m_Enabled: 1
  935 + m_EditorHideFlags: 0
  936 + m_Script: {fileID: 11500000, guid: 1a8b4e7d1335e9442bff4112fb51cebf, type: 3}
  937 + m_Name:
  938 + m_EditorClassIdentifier:
884 939 --- !u!114 &11450580
885 940 MonoBehaviour:
886 941 m_ObjectHideFlags: 1
... ... @@ -907,7 +962,7 @@ MonoBehaviour:
907 962 m_Name:
908 963 m_EditorClassIdentifier:
909 964 m_Navigation:
910   - m_Mode: 3
  965 + m_Mode: 0
911 966 m_SelectOnUp: {fileID: 0}
912 967 m_SelectOnDown: {fileID: 0}
913 968 m_SelectOnLeft: {fileID: 0}
... ... @@ -916,8 +971,8 @@ MonoBehaviour:
916 971 m_Colors:
917 972 m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
918 973 m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1}
919   - m_PressedColor: {r: .180392161, g: .200000018, b: .239215702, a: 1}
920   - m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
  974 + m_PressedColor: {r: .270588249, g: .282352954, b: .305882365, a: 1}
  975 + m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .243137255}
921 976 m_ColorMultiplier: 1
922 977 m_FadeDuration: .100000001
923 978 m_SpriteState:
... ... @@ -949,6 +1004,20 @@ MonoBehaviour:
949 1004 m_CallState: 2
950 1005 m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
951 1006 Culture=neutral, PublicKeyToken=null
  1007 +--- !u!114 &11458184
  1008 +MonoBehaviour:
  1009 + m_ObjectHideFlags: 1
  1010 + m_PrefabParentObject: {fileID: 0}
  1011 + m_PrefabInternal: {fileID: 100100000}
  1012 + m_GameObject: {fileID: 143022}
  1013 + m_Enabled: 1
  1014 + m_EditorHideFlags: 0
  1015 + m_Script: {fileID: -900027084, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
  1016 + m_Name:
  1017 + m_EditorClassIdentifier:
  1018 + m_EffectColor: {r: 0, g: 0, b: 0, a: .5}
  1019 + m_EffectDistance: {x: .5, y: -.5}
  1020 + m_UseGraphicAlpha: 1
952 1021 --- !u!114 &11460436
953 1022 MonoBehaviour:
954 1023 m_ObjectHideFlags: 1
... ... @@ -1024,7 +1093,7 @@ MonoBehaviour:
1024 1093 m_Color: {r: 1, g: 1, b: 1, a: 1}
1025 1094 m_Sprite: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0}
1026 1095 m_Type: 0
1027   - m_PreserveAspect: 0
  1096 + m_PreserveAspect: 1
1028 1097 m_FillCenter: 1
1029 1098 m_FillMethod: 4
1030 1099 m_FillAmount: 1
... ... @@ -1097,7 +1166,7 @@ MonoBehaviour:
1097 1166 m_PrefabParentObject: {fileID: 0}
1098 1167 m_PrefabInternal: {fileID: 100100000}
1099 1168 m_GameObject: {fileID: 193898}
1100   - m_Enabled: 1
  1169 + m_Enabled: 0
1101 1170 m_EditorHideFlags: 0
1102 1171 m_Script: {fileID: 1573420865, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
1103 1172 m_Name:
... ... @@ -1506,10 +1575,10 @@ RectTransform:
1506 1575 m_LocalScale: {x: 1, y: 1, z: 1}
1507 1576 m_Children: []
1508 1577 m_Father: {fileID: 22474902}
1509   - m_RootOrder: 4
  1578 + m_RootOrder: 5
1510 1579 m_AnchorMin: {x: .5, y: .5}
1511 1580 m_AnchorMax: {x: .5, y: .5}
1512   - m_AnchoredPosition: {x: 155, y: 0}
  1581 + m_AnchoredPosition: {x: 149.999969, y: 0}
1513 1582 m_SizeDelta: {x: 25, y: 24}
1514 1583 m_Pivot: {x: .5, y: .5}
1515 1584 --- !u!224 &22452678
... ... @@ -1540,10 +1609,10 @@ RectTransform:
1540 1609 m_LocalScale: {x: 1, y: 1, z: 1}
1541 1610 m_Children: []
1542 1611 m_Father: {fileID: 22474902}
1543   - m_RootOrder: 3
  1612 + m_RootOrder: 4
1544 1613 m_AnchorMin: {x: .5, y: .5}
1545 1614 m_AnchorMax: {x: .5, y: .5}
1546   - m_AnchoredPosition: {x: -103.199997, y: 0}
  1615 + m_AnchoredPosition: {x: -99.9999847, y: 0}
1547 1616 m_SizeDelta: {x: 25, y: 24}
1548 1617 m_Pivot: {x: .5, y: .5}
1549 1618 --- !u!224 &22465524
... ... @@ -1560,7 +1629,7 @@ RectTransform:
1560 1629 m_RootOrder: 1
1561 1630 m_AnchorMin: {x: .5, y: .5}
1562 1631 m_AnchorMax: {x: .5, y: .5}
1563   - m_AnchoredPosition: {x: -191.399994, y: 0}
  1632 + m_AnchoredPosition: {x: -196, y: 0}
1564 1633 m_SizeDelta: {x: 25, y: 27}
1565 1634 m_Pivot: {x: .5, y: .5}
1566 1635 --- !u!224 &22465894
... ... @@ -1580,7 +1649,7 @@ RectTransform:
1580 1649 m_RootOrder: 0
1581 1650 m_AnchorMin: {x: .5, y: .5}
1582 1651 m_AnchorMax: {x: .5, y: .5}
1583   - m_AnchoredPosition: {x: 27, y: 0}
  1652 + m_AnchoredPosition: {x: 24.2999992, y: 0}
1584 1653 m_SizeDelta: {x: 160, y: 20}
1585 1654 m_Pivot: {x: .5, y: .5}
1586 1655 --- !u!224 &22469688
... ... @@ -1589,15 +1658,15 @@ RectTransform:
1589 1658 m_PrefabParentObject: {fileID: 0}
1590 1659 m_PrefabInternal: {fileID: 100100000}
1591 1660 m_GameObject: {fileID: 143022}
1592   - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  1661 + m_LocalRotation: {x: 0, y: 0, z: .70710665, w: .707107008}
1593 1662 m_LocalPosition: {x: 0, y: 0, z: 0}
1594   - m_LocalScale: {x: 1, y: 1, z: 1}
  1663 + m_LocalScale: {x: .5, y: .5, z: 1}
1595 1664 m_Children: []
1596 1665 m_Father: {fileID: 22403302}
1597 1666 m_RootOrder: 2
1598   - m_AnchorMin: {x: 0, y: 0}
1599   - m_AnchorMax: {x: 0, y: 0}
1600   - m_AnchoredPosition: {x: 12.5, y: 35.7000122}
  1667 + m_AnchorMin: {x: .5, y: 0}
  1668 + m_AnchorMax: {x: .5, y: 0}
  1669 + m_AnchoredPosition: {x: 0, y: 4}
1601 1670 m_SizeDelta: {x: 25, y: 24}
1602 1671 m_Pivot: {x: .5, y: .5}
1603 1672 --- !u!224 &22474902
... ... @@ -1613,9 +1682,9 @@ RectTransform:
1613 1682 - {fileID: 22465894}
1614 1683 - {fileID: 22465524}
1615 1684 - {fileID: 22481960}
  1685 + - {fileID: 22483228}
1616 1686 - {fileID: 22458334}
1617 1687 - {fileID: 22452620}
1618   - - {fileID: 22483228}
1619 1688 m_Father: {fileID: 22403302}
1620 1689 m_RootOrder: 3
1621 1690 m_AnchorMin: {x: .5, y: 0}
... ... @@ -1671,7 +1740,7 @@ RectTransform:
1671 1740 m_RootOrder: 2
1672 1741 m_AnchorMin: {x: .5, y: .5}
1673 1742 m_AnchorMax: {x: .5, y: .5}
1674   - m_AnchoredPosition: {x: -145, y: 0}
  1743 + m_AnchoredPosition: {x: -150, y: 0}
1675 1744 m_SizeDelta: {x: 25, y: 24}
1676 1745 m_Pivot: {x: .5, y: .5}
1677 1746 --- !u!224 &22483228
... ... @@ -1685,7 +1754,7 @@ RectTransform:
1685 1754 m_LocalScale: {x: 1, y: 1, z: 1}
1686 1755 m_Children: []
1687 1756 m_Father: {fileID: 22474902}
1688   - m_RootOrder: 5
  1757 + m_RootOrder: 3
1689 1758 m_AnchorMin: {x: .5, y: .5}
1690 1759 m_AnchorMax: {x: .5, y: .5}
1691 1760 m_AnchoredPosition: {x: 196, y: 0}
... ...
Assets/Scenes/Main.unity
... ... @@ -87,19 +87,121 @@ NavMeshSettings:
87 87 cellSize: .166666657
88 88 manualCellSize: 0
89 89 m_NavMeshData: {fileID: 0}
90   ---- !u!114 &138791195 stripped
91   -MonoBehaviour:
92   - m_PrefabParentObject: {fileID: 11427452, guid: cd81d95d2fa8dc448b18a415b9009d43,
93   - type: 2}
94   - m_PrefabInternal: {fileID: 1610759364}
95   - m_Script: {fileID: 11500000, guid: eeb6a455eb0dfd94aa6bc3484e5fecff, type: 3}
96 90 --- !u!114 &387968829 stripped
97 91 MonoBehaviour:
98 92 m_PrefabParentObject: {fileID: 11426222, guid: a310db7b56d86974ca7dc72c28f6a7f6,
99 93 type: 2}
100   - m_PrefabInternal: {fileID: 524856702}
  94 + m_PrefabInternal: {fileID: 1943160035}
101 95 m_Script: {fileID: 575553740, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
102   ---- !u!1001 &524856702
  96 +--- !u!1001 &1465836861
  97 +Prefab:
  98 + m_ObjectHideFlags: 0
  99 + serializedVersion: 2
  100 + m_Modification:
  101 + m_TransformParent: {fileID: 0}
  102 + m_Modifications:
  103 + - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  104 + propertyPath: m_LocalPosition.x
  105 + value: 0
  106 + objectReference: {fileID: 0}
  107 + - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  108 + propertyPath: m_LocalPosition.y
  109 + value: 0
  110 + objectReference: {fileID: 0}
  111 + - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  112 + propertyPath: m_LocalPosition.z
  113 + value: -2
  114 + objectReference: {fileID: 0}
  115 + - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  116 + propertyPath: m_LocalRotation.x
  117 + value: 0
  118 + objectReference: {fileID: 0}
  119 + - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  120 + propertyPath: m_LocalRotation.y
  121 + value: 1
  122 + objectReference: {fileID: 0}
  123 + - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  124 + propertyPath: m_LocalRotation.z
  125 + value: 0
  126 + objectReference: {fileID: 0}
  127 + - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  128 + propertyPath: m_LocalRotation.w
  129 + value: -1.62920685e-07
  130 + objectReference: {fileID: 0}
  131 + - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  132 + propertyPath: m_RootOrder
  133 + value: 1
  134 + objectReference: {fileID: 0}
  135 + - target: {fileID: 13795696, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  136 + propertyPath: m_Materials.Array.data[0]
  137 + value:
  138 + objectReference: {fileID: 2100000, guid: f59307a7307ee684c9b51e79ef13b71c, type: 2}
  139 + - target: {fileID: 2000798, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  140 + propertyPath: m_BackGroundColor.r
  141 + value: .70588237
  142 + objectReference: {fileID: 0}
  143 + - target: {fileID: 2000798, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  144 + propertyPath: m_BackGroundColor.g
  145 + value: .70588237
  146 + objectReference: {fileID: 0}
  147 + - target: {fileID: 2000798, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  148 + propertyPath: m_BackGroundColor.b
  149 + value: .70588237
  150 + objectReference: {fileID: 0}
  151 + - target: {fileID: 2000798, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  152 + propertyPath: m_BackGroundColor.a
  153 + value: 0
  154 + objectReference: {fileID: 0}
  155 + m_RemovedComponents: []
  156 + m_ParentPrefab: {fileID: 100100000, guid: 00197fc9877daa14c963e5917de36124, type: 2}
  157 + m_IsPrefabParent: 0
  158 +--- !u!1001 &1610759364
  159 +Prefab:
  160 + m_ObjectHideFlags: 0
  161 + serializedVersion: 2
  162 + m_Modification:
  163 + m_TransformParent: {fileID: 0}
  164 + m_Modifications:
  165 + - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
  166 + propertyPath: m_LocalPosition.x
  167 + value: 0
  168 + objectReference: {fileID: 0}
  169 + - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
  170 + propertyPath: m_LocalPosition.y
  171 + value: 0
  172 + objectReference: {fileID: 0}
  173 + - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
  174 + propertyPath: m_LocalPosition.z
  175 + value: -2
  176 + objectReference: {fileID: 0}
  177 + - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
  178 + propertyPath: m_LocalRotation.x
  179 + value: 0
  180 + objectReference: {fileID: 0}
  181 + - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
  182 + propertyPath: m_LocalRotation.y
  183 + value: 0
  184 + objectReference: {fileID: 0}
  185 + - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
  186 + propertyPath: m_LocalRotation.z
  187 + value: -0
  188 + objectReference: {fileID: 0}
  189 + - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
  190 + propertyPath: m_LocalRotation.w
  191 + value: 1
  192 + objectReference: {fileID: 0}
  193 + - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
  194 + propertyPath: m_RootOrder
  195 + value: 0
  196 + objectReference: {fileID: 0}
  197 + - target: {fileID: 11427452, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
  198 + propertyPath: INFIELD
  199 + value:
  200 + objectReference: {fileID: 387968829}
  201 + m_RemovedComponents: []
  202 + m_ParentPrefab: {fileID: 100100000, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
  203 + m_IsPrefabParent: 0
  204 +--- !u!1001 &1943160035
103 205 Prefab:
104 206 m_ObjectHideFlags: 0
105 207 serializedVersion: 2
... ... @@ -178,14 +280,6 @@ Prefab:
178 280 propertyPath: m_Pivot.y
179 281 value: 0
180 282 objectReference: {fileID: 0}
181   - - target: {fileID: 11436708, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
182   - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
183   - value:
184   - objectReference: {fileID: 138791195}
185   - - target: {fileID: 11451458, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
186   - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
187   - value:
188   - objectReference: {fileID: 138791195}
189 283 - target: {fileID: 22412692, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
190 284 propertyPath: m_AnchorMax.x
191 285 value: .5
... ... @@ -206,98 +300,38 @@ Prefab:
206 300 propertyPath: m_AnchorMax.y
207 301 value: 1
208 302 objectReference: {fileID: 0}
209   - - target: {fileID: 137754, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
210   - propertyPath: m_Name
211   - value: Subtitles
212   - objectReference: {fileID: 0}
213   - m_RemovedComponents: []
214   - m_ParentPrefab: {fileID: 100100000, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
215   - m_IsPrefabParent: 0
216   ---- !u!1001 &1465836861
217   -Prefab:
218   - m_ObjectHideFlags: 0
219   - serializedVersion: 2
220   - m_Modification:
221   - m_TransformParent: {fileID: 0}
222   - m_Modifications:
223   - - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
224   - propertyPath: m_LocalPosition.x
225   - value: 0
226   - objectReference: {fileID: 0}
227   - - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
228   - propertyPath: m_LocalPosition.y
229   - value: 0
230   - objectReference: {fileID: 0}
231   - - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
232   - propertyPath: m_LocalPosition.z
233   - value: -2
234   - objectReference: {fileID: 0}
235   - - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
236   - propertyPath: m_LocalRotation.x
237   - value: 0
238   - objectReference: {fileID: 0}
239   - - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
240   - propertyPath: m_LocalRotation.y
241   - value: 1
242   - objectReference: {fileID: 0}
243   - - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
244   - propertyPath: m_LocalRotation.z
245   - value: 0
246   - objectReference: {fileID: 0}
247   - - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
248   - propertyPath: m_LocalRotation.w
249   - value: -1.62920685e-07
250   - objectReference: {fileID: 0}
251   - - target: {fileID: 491010, guid: 00197fc9877daa14c963e5917de36124, type: 2}
252   - propertyPath: m_RootOrder
253   - value: 1
254   - objectReference: {fileID: 0}
255   - m_RemovedComponents: []
256   - m_ParentPrefab: {fileID: 100100000, guid: 00197fc9877daa14c963e5917de36124, type: 2}
257   - m_IsPrefabParent: 0
258   ---- !u!1001 &1610759364
259   -Prefab:
260   - m_ObjectHideFlags: 0
261   - serializedVersion: 2
262   - m_Modification:
263   - m_TransformParent: {fileID: 0}
264   - m_Modifications:
265   - - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
266   - propertyPath: m_LocalPosition.x
267   - value: 0
  303 + - target: {fileID: 22465524, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
  304 + propertyPath: m_AnchorMin.x
  305 + value: .5
268 306 objectReference: {fileID: 0}
269   - - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
270   - propertyPath: m_LocalPosition.y
271   - value: 0
  307 + - target: {fileID: 22465524, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
  308 + propertyPath: m_AnchoredPosition.x
  309 + value: -196
272 310 objectReference: {fileID: 0}
273   - - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
274   - propertyPath: m_LocalPosition.z
275   - value: -2
  311 + - target: {fileID: 22465524, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
  312 + propertyPath: m_SizeDelta.x
  313 + value: 25
276 314 objectReference: {fileID: 0}
277   - - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
278   - propertyPath: m_LocalRotation.x
279   - value: 0
  315 + - target: {fileID: 22465524, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
  316 + propertyPath: m_AnchorMin.y
  317 + value: .5
280 318 objectReference: {fileID: 0}
281   - - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
282   - propertyPath: m_LocalRotation.y
  319 + - target: {fileID: 22465524, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
  320 + propertyPath: m_AnchoredPosition.y
283 321 value: 0
284 322 objectReference: {fileID: 0}
285   - - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
286   - propertyPath: m_LocalRotation.z
287   - value: -0
  323 + - target: {fileID: 22465524, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
  324 + propertyPath: m_SizeDelta.y
  325 + value: 27
288 326 objectReference: {fileID: 0}
289   - - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
290   - propertyPath: m_LocalRotation.w
291   - value: 1
  327 + - target: {fileID: 22465524, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
  328 + propertyPath: m_AnchorMax.x
  329 + value: .5
292 330 objectReference: {fileID: 0}
293   - - target: {fileID: 426230, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
294   - propertyPath: m_RootOrder
295   - value: 0
  331 + - target: {fileID: 22465524, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
  332 + propertyPath: m_AnchorMax.y
  333 + value: .5
296 334 objectReference: {fileID: 0}
297   - - target: {fileID: 11427452, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
298   - propertyPath: INFIELD
299   - value:
300   - objectReference: {fileID: 387968829}
301 335 m_RemovedComponents: []
302   - m_ParentPrefab: {fileID: 100100000, guid: cd81d95d2fa8dc448b18a415b9009d43, type: 2}
  336 + m_ParentPrefab: {fileID: 100100000, guid: a310db7b56d86974ca7dc72c28f6a7f6, type: 2}
303 337 m_IsPrefabParent: 0
... ...
Assets/Scripts/Editor.meta
... ... @@ -1,9 +0,0 @@
1   -fileFormatVersion: 2
2   -guid: fae7e192330ae5e44812c9ee1c496995
3   -folderAsset: yes
4   -timeCreated: 1434076505
5   -licenseType: Pro
6   -DefaultImporter:
7   - userData:
8   - assetBundleName:
9   - assetBundleVariant:
Assets/Scripts/Editor/EditorScript.cs
... ... @@ -1,14 +0,0 @@
1   -using UnityEngine;
2   -using UnityEditor;
3   -
4   -public class MeshPostprocessor : AssetPostprocessor {
5   -
6   - void OnPreprocessModel (){
7   -
8   - // (assetImporter as ModelImporter).globalScale = 1.0f;
9   - (assetImporter as ModelImporter).animationType = ModelImporterAnimationType.Legacy;
10   - (assetImporter as ModelImporter).materialName = ModelImporterMaterialName.BasedOnMaterialName;
11   -
12   - }
13   -
14   -}
15 0 \ No newline at end of file
Assets/Scripts/Editor/EditorScript.cs.meta
... ... @@ -1,12 +0,0 @@
1   -fileFormatVersion: 2
2   -guid: 6bc71d9094f965647963f2ca6729fff0
3   -timeCreated: 1434075135
4   -licenseType: Pro
5   -MonoImporter:
6   - serializedVersion: 2
7   - defaultReferences: []
8   - executionOrder: 0
9   - icon: {instanceID: 0}
10   - userData:
11   - assetBundleName:
12   - assetBundleVariant:
Assets/Scripts/FadeFX.cs 0 → 100644
... ... @@ -0,0 +1,38 @@
  1 +using UnityEngine;
  2 +using System.Collections;
  3 +using UnityEngine.EventSystems;
  4 +using UnityEngine.UI;
  5 +
  6 +public class FadeFX : MonoBehaviour,IPointerEnterHandler, IPointerExitHandler {
  7 +
  8 + public void Start(){
  9 +
  10 + foreach(GameObject GO in GameObject.FindGameObjectsWithTag("FADENEEDED"))
  11 + GO.GetComponent<CanvasRenderer>().SetAlpha(.2f);
  12 +
  13 + foreach(GameObject GO in GameObject.FindGameObjectsWithTag("BUTTONS"))
  14 + GO.GetComponent<Button>().interactable = false;
  15 +
  16 + }
  17 +
  18 + public void OnPointerEnter(PointerEventData eventData){
  19 +
  20 + foreach(GameObject GO in GameObject.FindGameObjectsWithTag("FADENEEDED"))
  21 + GO.GetComponent<CanvasRenderer>().SetAlpha(1f);
  22 +
  23 + foreach(GameObject GO in GameObject.FindGameObjectsWithTag("BUTTONS"))
  24 + GO.GetComponent<Button>().interactable = true;
  25 +
  26 + }
  27 +
  28 + public void OnPointerExit(PointerEventData eventData){
  29 +
  30 + foreach(GameObject GO in GameObject.FindGameObjectsWithTag("FADENEEDED"))
  31 + GO.GetComponent<CanvasRenderer>().SetAlpha(.2f);
  32 +
  33 + foreach(GameObject GO in GameObject.FindGameObjectsWithTag("BUTTONS"))
  34 + GO.GetComponent<Button>().interactable = false;
  35 +
  36 + }
  37 +
  38 +}
... ...
Assets/Scripts/FadeFX.cs.meta 0 → 100644
... ... @@ -0,0 +1,12 @@
  1 +fileFormatVersion: 2
  2 +guid: 1a8b4e7d1335e9442bff4112fb51cebf
  3 +timeCreated: 1438690923
  4 +licenseType: Pro
  5 +MonoImporter:
  6 + serializedVersion: 2
  7 + defaultReferences: []
  8 + executionOrder: 0
  9 + icon: {instanceID: 0}
  10 + userData:
  11 + assetBundleName:
  12 + assetBundleVariant:
... ...
Assets/Scripts/PlayerManager.cs
... ... @@ -38,7 +38,6 @@ public class PlayerManager : MonoBehaviour {
38 38  
39 39 Application.ExternalCall("onLoadPlayer");//var onLoadPlayer = function(){}
40 40  
41   -
42 41 AVATAR = GameObject.FindGameObjectWithTag("avatar");//referencia para o avatar
43 42 COMPONENT_ANIMATION = AVATAR.GetComponent<Animation>();//referencia para o componente animador do avatar
44 43 addAlpha( );//executa o metodo que adiciona alfabeto e numerais
... ... @@ -115,7 +114,11 @@ public class PlayerManager : MonoBehaviour {
115 114  
116 115 foreach(string aniName in stringPos){
117 116  
118   - //if (String.IsNullOrEmpty(aniName)) continue;
  117 + try{
  118 +
  119 + if (String.IsNullOrEmpty(aniName)) continue;
  120 +
  121 + }catch(Exception e){ Debug.Log(e+" :: NotNullNotEmpty"); }
119 122  
120 123 // Se ja estiver carregado: reproduz animaçao
121 124 if (loadedAssetBundles.Contains(aniName)){
... ...
ProjectSettings/QualitySettings.asset
... ... @@ -144,4 +144,12 @@ QualitySettings:
144 144 maximumLODLevel: 0
145 145 particleRaycastBudget: 4096
146 146 excludedTargetPlatforms: []
147   - m_PerPlatformDefaultQuality: {}
  147 + m_PerPlatformDefaultQuality:
  148 + Android: 5
  149 + BlackBerry: 5
  150 + Standalone: 5
  151 + WP8: 5
  152 + Web: 5
  153 + WebGL: 5
  154 + Windows Store Apps: 5
  155 + iPhone: 5
... ...
ProjectSettings/TagManager.asset
... ... @@ -8,6 +8,8 @@ TagManager:
8 8 - inspetor
9 9 - RESBOX
10 10 - testTextFieldGLosa
  11 + - FADENEEDED
  12 + - BUTTONS
11 13 layers:
12 14 - Default
13 15 - TransparentFX
... ...