Commit d2b526db by Eko Simanjuntak

Merge branch 'level5' into 'development'

Level5 See merge request !7
parents 89f9ea01 217cddd9
...@@ -948,7 +948,7 @@ Transform: ...@@ -948,7 +948,7 @@ Transform:
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 173643953} m_GameObject: {fileID: 173643953}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 153.7, y: 9.877106, z: 0} m_LocalPosition: {x: 147.3, y: 9.877106, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: [] m_Children: []
m_Father: {fileID: 470275807} m_Father: {fileID: 470275807}
...@@ -1911,11 +1911,11 @@ Transform: ...@@ -1911,11 +1911,11 @@ Transform:
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 307313277} m_GameObject: {fileID: 307313277}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 90.12, y: -1.51, z: 0} m_LocalPosition: {x: 90.12, y: -3.2, z: 0}
m_LocalScale: {x: 0.30039, y: 0.15958999, z: 1} m_LocalScale: {x: 0.30039, y: 0.15958999, z: 1}
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 470275807}
m_RootOrder: 9 m_RootOrder: 34
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &308390349 --- !u!1 &308390349
GameObject: GameObject:
...@@ -3091,6 +3091,9 @@ Transform: ...@@ -3091,6 +3091,9 @@ Transform:
- {fileID: 485851931} - {fileID: 485851931}
- {fileID: 173643956} - {fileID: 173643956}
- {fileID: 324999447} - {fileID: 324999447}
- {fileID: 307313280}
- {fileID: 2020557928}
- {fileID: 557869958}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 5 m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
...@@ -3450,11 +3453,11 @@ Transform: ...@@ -3450,11 +3453,11 @@ Transform:
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 557869955} m_GameObject: {fileID: 557869955}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 85.34, y: 0.64, z: 0} m_LocalPosition: {x: 85.34, y: -1.0500001, z: 0}
m_LocalScale: {x: 0.30039, y: 0.15958999, z: 1} m_LocalScale: {x: 0.30039, y: 0.15958999, z: 1}
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 470275807}
m_RootOrder: 11 m_RootOrder: 36
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &594882488 --- !u!1 &594882488
GameObject: GameObject:
...@@ -9346,11 +9349,11 @@ Transform: ...@@ -9346,11 +9349,11 @@ Transform:
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2020557925} m_GameObject: {fileID: 2020557925}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 91.44, y: 2.55, z: 0} m_LocalPosition: {x: 91.44, y: 0.8599999, z: 0}
m_LocalScale: {x: 0.30039, y: 0.15958999, z: 1} m_LocalScale: {x: 0.30039, y: 0.15958999, z: 1}
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 470275807}
m_RootOrder: 10 m_RootOrder: 35
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2022861151 --- !u!1 &2022861151
GameObject: GameObject:
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -208,7 +208,7 @@ RectTransform: ...@@ -208,7 +208,7 @@ RectTransform:
m_GameObject: {fileID: 514988942} m_GameObject: {fileID: 514988942}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 0.5, y: 0.5, z: 1}
m_Children: m_Children:
- {fileID: 1774161681} - {fileID: 1774161681}
m_Father: {fileID: 1419168547} m_Father: {fileID: 1419168547}
...@@ -216,7 +216,7 @@ RectTransform: ...@@ -216,7 +216,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 392, y: -319} m_AnchoredPosition: {x: 315, y: -235}
m_SizeDelta: {x: 235.1, y: 179.7} m_SizeDelta: {x: 235.1, y: 179.7}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &514988944 --- !u!114 &514988944
...@@ -330,7 +330,7 @@ RectTransform: ...@@ -330,7 +330,7 @@ RectTransform:
m_GameObject: {fileID: 904575931} m_GameObject: {fileID: 904575931}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 0.5, y: 0.5, z: 1}
m_Children: m_Children:
- {fileID: 1886889952} - {fileID: 1886889952}
m_Father: {fileID: 1419168547} m_Father: {fileID: 1419168547}
...@@ -338,7 +338,7 @@ RectTransform: ...@@ -338,7 +338,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -397.3, y: -319.00003} m_AnchoredPosition: {x: -214, y: -235}
m_SizeDelta: {x: 235.1, y: 179.7} m_SizeDelta: {x: 235.1, y: 179.7}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &904575933 --- !u!114 &904575933
...@@ -452,7 +452,7 @@ RectTransform: ...@@ -452,7 +452,7 @@ RectTransform:
m_GameObject: {fileID: 1119512936} m_GameObject: {fileID: 1119512936}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 0.5, y: 0.5, z: 1}
m_Children: m_Children:
- {fileID: 1356066943} - {fileID: 1356066943}
m_Father: {fileID: 1419168547} m_Father: {fileID: 1419168547}
...@@ -460,9 +460,9 @@ RectTransform: ...@@ -460,9 +460,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 21.100014, y: -319.00003} m_AnchoredPosition: {x: 137, y: -235}
m_SizeDelta: {x: 235.1, y: 179.7} m_SizeDelta: {x: 235.1, y: 179.7}
m_Pivot: {x: 0.040888563, y: 0.5} m_Pivot: {x: 0.5000001, y: 0.5}
--- !u!114 &1119512938 --- !u!114 &1119512938
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -571,8 +571,8 @@ Transform: ...@@ -571,8 +571,8 @@ Transform:
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1186508283} m_GameObject: {fileID: 1186508283}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 2.34, z: 0} m_LocalPosition: {x: 0.572, y: 0.03, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 0.5654351, y: 0.49929425, z: 1}
m_Children: [] m_Children: []
m_Father: {fileID: 2144222864} m_Father: {fileID: 2144222864}
m_RootOrder: 0 m_RootOrder: 0
...@@ -645,7 +645,7 @@ RectTransform: ...@@ -645,7 +645,7 @@ RectTransform:
m_GameObject: {fileID: 1251802330} m_GameObject: {fileID: 1251802330}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 0.5, y: 0.5, z: 1}
m_Children: m_Children:
- {fileID: 282951666} - {fileID: 282951666}
m_Father: {fileID: 1419168547} m_Father: {fileID: 1419168547}
...@@ -653,7 +653,7 @@ RectTransform: ...@@ -653,7 +653,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -134.59998, y: -319} m_AnchoredPosition: {x: -42, y: -235}
m_SizeDelta: {x: 235.1, y: 179.7} m_SizeDelta: {x: 235.1, y: 179.7}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1251802332 --- !u!114 &1251802332
...@@ -1288,7 +1288,7 @@ Transform: ...@@ -1288,7 +1288,7 @@ Transform:
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2144222862} m_GameObject: {fileID: 2144222862}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -1.4261247, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 1186508284} - {fileID: 1186508284}
......
...@@ -142,7 +142,7 @@ RectTransform: ...@@ -142,7 +142,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -372, y: -315} m_AnchoredPosition: {x: -272, y: -255}
m_SizeDelta: {x: 210, y: 140} m_SizeDelta: {x: 210, y: 140}
m_Pivot: {x: -0.083567515, y: 0.38915473} m_Pivot: {x: -0.083567515, y: 0.38915473}
--- !u!114 &382978306 --- !u!114 &382978306
...@@ -383,8 +383,8 @@ Transform: ...@@ -383,8 +383,8 @@ Transform:
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 443434355} m_GameObject: {fileID: 443434355}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -580.329, y: -258.056, z: 0} m_LocalPosition: {x: -577.708, y: -258.166, z: 0}
m_LocalScale: {x: 0.9233739, y: 0.9233739, z: 0.9233739} m_LocalScale: {x: 0.689829, y: 0.8345647, z: 0.9233739}
m_Children: [] m_Children: []
m_Father: {fileID: 437167784} m_Father: {fileID: 437167784}
m_RootOrder: 0 m_RootOrder: 0
......
...@@ -108,6 +108,128 @@ NavMeshSettings: ...@@ -108,6 +108,128 @@ NavMeshSettings:
tileSize: 256 tileSize: 256
accuratePlacement: 0 accuratePlacement: 0
m_NavMeshData: {fileID: 0} m_NavMeshData: {fileID: 0}
--- !u!1 &336106286
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 336106287}
m_Layer: 0
m_Name: Background
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &336106287
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 336106286}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 580, y: 258.2, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &761046042
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 761046046}
- component: {fileID: 761046045}
- component: {fileID: 761046044}
- component: {fileID: 761046043}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &761046043
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 761046042}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &761046044
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 761046042}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
--- !u!223 &761046045
Canvas:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 761046042}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!224 &761046046
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 761046042}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1865955352}
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!1 &1479613922 --- !u!1 &1479613922
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -197,3 +319,261 @@ Transform: ...@@ -197,3 +319,261 @@ Transform:
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1759671603
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 1759671606}
- component: {fileID: 1759671605}
- component: {fileID: 1759671604}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1759671604
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1759671603}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalAxis: Horizontal
m_VerticalAxis: Vertical
m_SubmitButton: Submit
m_CancelButton: Cancel
m_InputActionsPerSecond: 10
m_RepeatDelay: 0.5
m_ForceModuleActive: 0
--- !u!114 &1759671605
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1759671603}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FirstSelected: {fileID: 0}
m_sendNavigationEvents: 1
m_DragThreshold: 5
--- !u!4 &1759671606
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1759671603}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1865955351
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 1865955352}
- component: {fileID: 1865955355}
- component: {fileID: 1865955354}
- component: {fileID: 1865955353}
m_Layer: 5
m_Name: Back
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1865955352
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1865955351}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 2041071613}
m_Father: {fileID: 761046046}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -272, y: -255}
m_SizeDelta: {x: 210, y: 140}
m_Pivot: {x: -0.083567515, y: 0.38915473}
--- !u!114 &1865955353
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1865955351}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 1865955354}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_MethodName: LoadScene
m_Mode: 5
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument: Menu
m_BoolArgument: 0
m_CallState: 2
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!114 &1865955354
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1865955351}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: bdcdf5dad51224746b55761799a41d92, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!222 &1865955355
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1865955351}
--- !u!1 &2041071612
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 2041071613}
- component: {fileID: 2041071615}
- component: {fileID: 2041071614}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2041071613
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2041071612}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1865955352}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2041071614
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2041071612}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 12800000, guid: 412a0da3f2bbbe04191d1b7b4580dbfd, type: 3}
m_FontSize: 20
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 2
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: Back
--- !u!222 &2041071615
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2041071612}
...@@ -4,11 +4,12 @@ using UnityEngine; ...@@ -4,11 +4,12 @@ using UnityEngine;
public class BackgroundChanger : MonoBehaviour { public class BackgroundChanger : MonoBehaviour {
private List<GameObject> backgroundGroup = new List<GameObject>();
private List<GameObject> obstacleGroup = new List<GameObject>(); private List<GameObject> backgroundGroup = new List<GameObject>();
private GameObject[] gameObjectGroup; private List<GameObject> obstacleGroup = new List<GameObject>();
private GameObject background; private GameObject[] gameObjectGroup;
private string[] colors = {"Blue", "Green", "Yellow" }; private GameObject background;
private string[] colors = {"Blue", "Green", "Yellow", "Purple" };
public void Start() public void Start()
{ {
...@@ -45,6 +46,9 @@ public class BackgroundChanger : MonoBehaviour { ...@@ -45,6 +46,9 @@ public class BackgroundChanger : MonoBehaviour {
} else if (Input.GetKey(KeyCode.C)) } else if (Input.GetKey(KeyCode.C))
{ {
UpdateBackgroud("Yellow"); UpdateBackgroud("Yellow");
} else if (Input.GetKey(KeyCode.V))
{
UpdateBackgroud("Purple");
} }
} }
...@@ -59,6 +63,9 @@ public class BackgroundChanger : MonoBehaviour { ...@@ -59,6 +63,9 @@ public class BackgroundChanger : MonoBehaviour {
} else if (tagColor == "Yellow") } else if (tagColor == "Yellow")
{ {
background.GetComponent<SpriteRenderer>().color = new Color32(255, 193, 7, 255); background.GetComponent<SpriteRenderer>().color = new Color32(255, 193, 7, 255);
} else if (tagColor == "Purple")
{
background.GetComponent<SpriteRenderer>().color = new Color32(191, 85, 236, 255);
} }
......
fileFormatVersion: 2 fileFormatVersion: 2
guid: a16566a6ce6ba9a44876de4d28e11422 guid: 4bc62546e2a637649a2748bbeb872065
timeCreated: 1512582417 timeCreated: 1512582417
licenseType: Free licenseType: Free
NativeFormatImporter: NativeFormatImporter:
......
fileFormatVersion: 2 fileFormatVersion: 2
guid: 1c2f3df13d9276d48bde164b00bd9c60 guid: f54cd7261f6305d488ae90d958a9aa0d
timeCreated: 1513047512 timeCreated: 1513047512
licenseType: Free licenseType: Free
TextureImporter: TextureImporter:
......
...@@ -26,3 +26,9 @@ EditorBuildSettings: ...@@ -26,3 +26,9 @@ EditorBuildSettings:
- enabled: 1 - enabled: 1
path: Assets/Scenes/Level 5.unity path: Assets/Scenes/Level 5.unity
guid: 131effb69f163c2499133e536b4a4536 guid: 131effb69f163c2499133e536b4a4536
- enabled: 1
path: Assets/Scenes/Stories.unity
guid: c41f6fa246c68454384e609ef4e40930
- enabled: 1
path: Assets/Scenes/Tutorials.unity
guid: 4e4a4af12f474bc40adf1774a8167c3f
...@@ -3,7 +3,12 @@ ...@@ -3,7 +3,12 @@
--- !u!78 &1 --- !u!78 &1
TagManager: TagManager:
serializedVersion: 2 serializedVersion: 2
tags: [] tags:
- BlueObstacle
- YellowObstacle
- GreenObstacle
- Background
- PurpleObstacle
layers: layers:
- Default - Default
- TransparentFX - TransparentFX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment