Commit 008aada7 by Eko Simanjuntak

add unifish level 5

parent 52ac555a
...@@ -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.
...@@ -9,7 +9,7 @@ public class BackgroundChanger : MonoBehaviour { ...@@ -9,7 +9,7 @@ public class BackgroundChanger : MonoBehaviour {
private List<GameObject> obstacleGroup = new List<GameObject>(); private List<GameObject> obstacleGroup = new List<GameObject>();
private GameObject[] gameObjectGroup; private GameObject[] gameObjectGroup;
private GameObject background; private GameObject background;
private string[] colors = {"Blue", "Green", "Yellow" }; private string[] colors = {"Blue", "Green", "Yellow", "Purple" };
public void Start() public void Start()
{ {
...@@ -47,6 +47,9 @@ public class BackgroundChanger : MonoBehaviour { ...@@ -47,6 +47,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");
} }
} }
...@@ -61,6 +64,9 @@ public class BackgroundChanger : MonoBehaviour { ...@@ -61,6 +64,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:
......
...@@ -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