Commit 1e1bfc26 by Juliper

final level2 ?

parents 86bb2878 25c38151
*/.vs /.vs
/Library /Library
/Temp /Temp
.vs
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -290,12 +290,12 @@ RectTransform: ...@@ -290,12 +290,12 @@ RectTransform:
m_Children: m_Children:
- {fileID: 1202179858} - {fileID: 1202179858}
m_Father: {fileID: 380550010} m_Father: {fileID: 380550010}
m_RootOrder: 6 m_RootOrder: 5
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: 0, y: -172} m_AnchoredPosition: {x: 0.000011444, y: -242.2}
m_SizeDelta: {x: 160, y: 30} m_SizeDelta: {x: 225, y: 35.145}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &217939054 --- !u!114 &217939054
MonoBehaviour: MonoBehaviour:
...@@ -695,7 +695,6 @@ RectTransform: ...@@ -695,7 +695,6 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0} m_LocalScale: {x: 0, y: 0, z: 0}
m_Children: m_Children:
- {fileID: 1180017595}
- {fileID: 1527370635} - {fileID: 1527370635}
- {fileID: 1615137811} - {fileID: 1615137811}
- {fileID: 1501351186} - {fileID: 1501351186}
...@@ -710,80 +709,77 @@ RectTransform: ...@@ -710,80 +709,77 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0} m_Pivot: {x: 0, y: 0}
--- !u!1 &1180017594 --- !u!1 &765504539
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
serializedVersion: 5 serializedVersion: 5
m_Component: m_Component:
- component: {fileID: 1180017595} - component: {fileID: 765504540}
- component: {fileID: 1180017597} - component: {fileID: 765504541}
- component: {fileID: 1180017596} m_Layer: 0
m_Layer: 5 m_Name: 33
m_Name: Title
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &1180017595 --- !u!4 &765504540
RectTransform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1180017594} m_GameObject: {fileID: 765504539}
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: 1.4261247, 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: 380550010} m_Father: {fileID: 1882667815}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} --- !u!212 &765504541
m_AnchorMax: {x: 0.5, y: 0.5} SpriteRenderer:
m_AnchoredPosition: {x: -6.9999886, y: 229}
m_SizeDelta: {x: 698.9, y: 126.1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1180017596
MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1180017594} m_GameObject: {fileID: 765504539}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_CastShadows: 0
m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_ReceiveShadows: 0
m_Name: m_MotionVectors: 1
m_EditorClassIdentifier: m_LightProbeUsage: 1
m_Material: {fileID: 0} m_ReflectionProbeUsage: 1
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: cf716585f49b0314198b5bfb1e7ecadd, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_FlipX: 0
m_OnCullStateChanged: m_FlipY: 0
m_PersistentCalls: m_DrawMode: 0
m_Calls: [] m_Size: {x: 17.92, y: 11.2}
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, m_AdaptiveModeThreshold: 0.5
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null m_SpriteTileMode: 0
m_FontData: m_WasSpriteAssigned: 1
m_Font: {fileID: 12800000, guid: de4903a6a129e8047b74344f3ee1084c, type: 3} m_MaskInteraction: 0
m_FontSize: 100
m_FontStyle: 0
m_BestFit: 1
m_MinSize: 1
m_MaxSize: 100
m_Alignment: 4
m_AlignByGeometry: 1
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: Select Level
--- !u!222 &1180017597
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1180017594}
--- !u!1 &1202179857 --- !u!1 &1202179857
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -840,10 +836,10 @@ MonoBehaviour: ...@@ -840,10 +836,10 @@ MonoBehaviour:
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData: m_FontData:
m_Font: {fileID: 12800000, guid: 412a0da3f2bbbe04191d1b7b4580dbfd, type: 3} m_Font: {fileID: 12800000, guid: 412a0da3f2bbbe04191d1b7b4580dbfd, type: 3}
m_FontSize: 14 m_FontSize: 20
m_FontStyle: 0 m_FontStyle: 0
m_BestFit: 0 m_BestFit: 0
m_MinSize: 10 m_MinSize: 2
m_MaxSize: 40 m_MaxSize: 40
m_Alignment: 4 m_Alignment: 4
m_AlignByGeometry: 0 m_AlignByGeometry: 0
...@@ -858,77 +854,6 @@ CanvasRenderer: ...@@ -858,77 +854,6 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1202179857} m_GameObject: {fileID: 1202179857}
--- !u!1 &1212585304
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 1212585305}
- component: {fileID: 1212585306}
m_Layer: 0
m_Name: env_RiverTop
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1212585305
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1212585304}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 1.53, z: 0}
m_LocalScale: {x: 1, y: 0.92392105, z: 1}
m_Children: []
m_Father: {fileID: 1882667815}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &1212585306
SpriteRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1212585304}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: def8dbf08939bfd4dad27672b1586bca, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 1
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 19.2, y: 10.8}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
--- !u!1 &1251083287 --- !u!1 &1251083287
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -959,11 +884,11 @@ RectTransform: ...@@ -959,11 +884,11 @@ RectTransform:
m_Children: m_Children:
- {fileID: 251350943} - {fileID: 251350943}
m_Father: {fileID: 380550010} m_Father: {fileID: 380550010}
m_RootOrder: 5 m_RootOrder: 4
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: 0, y: -81} m_AnchoredPosition: {x: 0, y: -207.13}
m_SizeDelta: {x: 225, y: 35} m_SizeDelta: {x: 225, y: 35}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1251083289 --- !u!114 &1251083289
...@@ -1081,11 +1006,11 @@ RectTransform: ...@@ -1081,11 +1006,11 @@ RectTransform:
m_Children: m_Children:
- {fileID: 374928107} - {fileID: 374928107}
m_Father: {fileID: 380550010} m_Father: {fileID: 380550010}
m_RootOrder: 4 m_RootOrder: 3
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: 0, y: -32} m_AnchoredPosition: {x: 0, y: -172.13002}
m_SizeDelta: {x: 225, y: 35} m_SizeDelta: {x: 225, y: 35}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1472717075 --- !u!114 &1472717075
...@@ -1203,11 +1128,11 @@ RectTransform: ...@@ -1203,11 +1128,11 @@ RectTransform:
m_Children: m_Children:
- {fileID: 60085193} - {fileID: 60085193}
m_Father: {fileID: 380550010} m_Father: {fileID: 380550010}
m_RootOrder: 3 m_RootOrder: 2
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: 0, y: 17.5} m_AnchoredPosition: {x: 0, y: -137.13002}
m_SizeDelta: {x: 225, y: 35} m_SizeDelta: {x: 225, y: 35}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1501351187 --- !u!114 &1501351187
...@@ -1325,11 +1250,11 @@ RectTransform: ...@@ -1325,11 +1250,11 @@ RectTransform:
m_Children: m_Children:
- {fileID: 280158130} - {fileID: 280158130}
m_Father: {fileID: 380550010} m_Father: {fileID: 380550010}
m_RootOrder: 1 m_RootOrder: 0
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: 0, y: 120} m_AnchoredPosition: {x: 0, y: -67.13002}
m_SizeDelta: {x: 225, y: 35} m_SizeDelta: {x: 225, y: 35}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1527370636 --- !u!114 &1527370636
...@@ -1447,11 +1372,11 @@ RectTransform: ...@@ -1447,11 +1372,11 @@ RectTransform:
m_Children: m_Children:
- {fileID: 149076855} - {fileID: 149076855}
m_Father: {fileID: 380550010} m_Father: {fileID: 380550010}
m_RootOrder: 2 m_RootOrder: 1
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: 0, y: 70} m_AnchoredPosition: {x: 0, y: -102.13002}
m_SizeDelta: {x: 225, y: 35} m_SizeDelta: {x: 225, y: 35}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1615137812 --- !u!114 &1615137812
...@@ -1708,7 +1633,7 @@ Transform: ...@@ -1708,7 +1633,7 @@ Transform:
m_LocalPosition: {x: 0, y: -1.4261247, z: 0} m_LocalPosition: {x: 0, y: -1.4261247, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 1212585305} - {fileID: 765504540}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
......
...@@ -108,77 +108,6 @@ NavMeshSettings: ...@@ -108,77 +108,6 @@ NavMeshSettings:
tileSize: 256 tileSize: 256
accuratePlacement: 0 accuratePlacement: 0
m_NavMeshData: {fileID: 0} m_NavMeshData: {fileID: 0}
--- !u!1 &413786543
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 413786544}
- component: {fileID: 413786545}
m_Layer: 0
m_Name: env_RiverTop
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &413786544
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 413786543}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 1.53, z: 0}
m_LocalScale: {x: 1, y: 0.92392105, z: 1}
m_Children: []
m_Father: {fileID: 2144222864}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &413786545
SpriteRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 413786543}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: def8dbf08939bfd4dad27672b1586bca, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 1
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 19.2, y: 10.8}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
--- !u!1 &514988942 --- !u!1 &514988942
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -209,12 +138,12 @@ RectTransform: ...@@ -209,12 +138,12 @@ RectTransform:
m_Children: m_Children:
- {fileID: 1774161681} - {fileID: 1774161681}
m_Father: {fileID: 1419168547} m_Father: {fileID: 1419168547}
m_RootOrder: 2 m_RootOrder: 1
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: -0.000011445001, y: -22.499989} m_AnchoredPosition: {x: 108.3, y: -177.29999}
m_SizeDelta: {x: 225, y: 45} m_SizeDelta: {x: 174.2, y: 53.4}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &514988944 --- !u!114 &514988944
MonoBehaviour: MonoBehaviour:
...@@ -331,12 +260,12 @@ RectTransform: ...@@ -331,12 +260,12 @@ RectTransform:
m_Children: m_Children:
- {fileID: 1886889952} - {fileID: 1886889952}
m_Father: {fileID: 1419168547} m_Father: {fileID: 1419168547}
m_RootOrder: 1 m_RootOrder: 0
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: 0.000011444, y: 58} m_AnchoredPosition: {x: -109.2, y: -177.3}
m_SizeDelta: {x: 225, y: 45} m_SizeDelta: {x: 174.2, y: 56.8}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &904575933 --- !u!114 &904575933
MonoBehaviour: MonoBehaviour:
...@@ -423,6 +352,77 @@ CanvasRenderer: ...@@ -423,6 +352,77 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 904575931} m_GameObject: {fileID: 904575931}
--- !u!1 &1158587032
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 1158587033}
- component: {fileID: 1158587034}
m_Layer: 0
m_Name: iniiii
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1158587033
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1158587032}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 1.4261247, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 2144222864}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &1158587034
SpriteRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1158587032}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: ab6804e2257f56244b333da9a3702174, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 20, y: 10}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
--- !u!1 &1419168543 --- !u!1 &1419168543
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -508,7 +508,6 @@ RectTransform: ...@@ -508,7 +508,6 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0} m_LocalScale: {x: 0, y: 0, z: 0}
m_Children: m_Children:
- {fileID: 1590382071}
- {fileID: 904575932} - {fileID: 904575932}
- {fileID: 514988943} - {fileID: 514988943}
m_Father: {fileID: 0} m_Father: {fileID: 0}
...@@ -519,80 +518,6 @@ RectTransform: ...@@ -519,80 +518,6 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0} m_Pivot: {x: 0, y: 0}
--- !u!1 &1590382070
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 1590382071}
- component: {fileID: 1590382073}
- component: {fileID: 1590382072}
m_Layer: 5
m_Name: Title
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1590382071
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1590382070}
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: 1419168547}
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: 0.000011444, y: 184}
m_SizeDelta: {x: 698.9, y: 126.1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1590382072
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1590382070}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, 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_FontData:
m_Font: {fileID: 12800000, guid: de4903a6a129e8047b74344f3ee1084c, type: 3}
m_FontSize: 100
m_FontStyle: 0
m_BestFit: 1
m_MinSize: 1
m_MaxSize: 100
m_Alignment: 4
m_AlignByGeometry: 1
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: Colorful Love
--- !u!222 &1590382073
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1590382070}
--- !u!1 &1703434588 --- !u!1 &1703434588
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -972,7 +897,7 @@ Transform: ...@@ -972,7 +897,7 @@ Transform:
m_LocalPosition: {x: 0, y: -1.4261247, z: 0} m_LocalPosition: {x: 0, y: -1.4261247, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 413786544} - {fileID: 1158587033}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
...@@ -22,6 +22,7 @@ public class BackgroundChanger : MonoBehaviour { ...@@ -22,6 +22,7 @@ public class BackgroundChanger : MonoBehaviour {
background = GameObject.FindWithTag("Background"); background = GameObject.FindWithTag("Background");
} }
private void CollectObstacles() private void CollectObstacles()
{ {
foreach(string color in colors) foreach(string color in colors)
......
...@@ -28,7 +28,6 @@ public class PhysicsObject : MonoBehaviour ...@@ -28,7 +28,6 @@ public class PhysicsObject : MonoBehaviour
{ {
targetVelocity = Vector2.zero; targetVelocity = Vector2.zero;
ComputeVelocity(); ComputeVelocity();
Shoot();
} }
protected virtual void ComputeVelocity() protected virtual void ComputeVelocity()
...@@ -36,11 +35,6 @@ public class PhysicsObject : MonoBehaviour ...@@ -36,11 +35,6 @@ public class PhysicsObject : MonoBehaviour
} }
protected virtual void Shoot()
{
}
private void FixedUpdate() private void FixedUpdate()
{ {
Vector2 move; Vector2 move;
......
...@@ -41,4 +41,12 @@ public class PlayerController : PhysicsObject ...@@ -41,4 +41,12 @@ public class PlayerController : PhysicsObject
targetVelocity = move * maxSpeed; targetVelocity = move * maxSpeed;
} }
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.gameObject.CompareTag("Finish"))
{
SceneLoader.LoadLevelScene();
}
}
} }
...@@ -10,6 +10,11 @@ public class SceneLoader : MonoBehaviour { ...@@ -10,6 +10,11 @@ public class SceneLoader : MonoBehaviour {
SceneManager.LoadScene(sceneName); SceneManager.LoadScene(sceneName);
} }
public static void LoadLevelScene()
{
SceneManager.LoadScene("Level Selection");
}
public void QuitGame() public void QuitGame()
{ {
Application.Quit(); Application.Quit();
......
...@@ -35,6 +35,7 @@ GraphicsSettings: ...@@ -35,6 +35,7 @@ GraphicsSettings:
- {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: [] m_PreloadedShaders: []
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
type: 0} type: 0}
......
...@@ -4,11 +4,12 @@ ...@@ -4,11 +4,12 @@
TagManager: TagManager:
serializedVersion: 2 serializedVersion: 2
tags: tags:
- BlueBackground
- GreenBackground
- BlueObstacle - BlueObstacle
- GreenObstacle - GreenObstacle
- Background - Background
- BlueBackground
- GreenBackground
- WhiteObstacle
layers: layers:
- Default - Default
- TransparentFX - TransparentFX
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" PreferredExecutionTarget="Unity.Instance.Unity Editor" /> <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" PreferredExecutionTarget="Unity.Instance.Unity Editor" />
<MonoDevelop.Ide.Workbench ActiveDocument="Assets\Scripts\BackgroundChanger.cs"> <MonoDevelop.Ide.Workbench ActiveDocument="Assets\Scripts\BackgroundChanger.cs">
<Files> <Files>
<File FileName="Assets\Scripts\BackgroundChanger.cs" Line="22" Column="1" /> <File FileName="Assets\Scripts\BackgroundChanger.cs" Line="7" Column="1" />
<File FileName="Assets\Scripts\PlayerController.cs" Line="1" Column="1" /> <File FileName="Assets\Scripts\PlayerController.cs" Line="1" Column="1" />
<File FileName="Assets\Scripts\PhysicObject.cs" Line="1" Column="1" /> <File FileName="Assets\Scripts\PhysicObject.cs" Line="1" Column="1" />
<File FileName="Assets\Scripts\SceneLoader.cs" Line="1" Column="1" /> <File FileName="Assets\Scripts\SceneLoader.cs" Line="1" Column="1" />
......
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