Commit 008aada7 by Eko Simanjuntak

add unifish level 5

parent 52ac555a
......@@ -948,7 +948,7 @@ Transform:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 173643953}
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_Children: []
m_Father: {fileID: 470275807}
......@@ -1911,11 +1911,11 @@ Transform:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 307313277}
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_Children: []
m_Father: {fileID: 0}
m_RootOrder: 9
m_Father: {fileID: 470275807}
m_RootOrder: 34
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &308390349
GameObject:
......@@ -3091,6 +3091,9 @@ Transform:
- {fileID: 485851931}
- {fileID: 173643956}
- {fileID: 324999447}
- {fileID: 307313280}
- {fileID: 2020557928}
- {fileID: 557869958}
m_Father: {fileID: 0}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
......@@ -3450,11 +3453,11 @@ Transform:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 557869955}
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_Children: []
m_Father: {fileID: 0}
m_RootOrder: 11
m_Father: {fileID: 470275807}
m_RootOrder: 36
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &594882488
GameObject:
......@@ -9346,11 +9349,11 @@ Transform:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2020557925}
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_Children: []
m_Father: {fileID: 0}
m_RootOrder: 10
m_Father: {fileID: 470275807}
m_RootOrder: 35
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2022861151
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 {
private List<GameObject> obstacleGroup = new List<GameObject>();
private GameObject[] gameObjectGroup;
private GameObject background;
private string[] colors = {"Blue", "Green", "Yellow" };
private string[] colors = {"Blue", "Green", "Yellow", "Purple" };
public void Start()
{
......@@ -47,6 +47,9 @@ public class BackgroundChanger : MonoBehaviour {
} else if (Input.GetKey(KeyCode.C))
{
UpdateBackgroud("Yellow");
} else if (Input.GetKey(KeyCode.V))
{
UpdateBackgroud("Purple");
}
}
......@@ -61,6 +64,9 @@ public class BackgroundChanger : MonoBehaviour {
} else if (tagColor == "Yellow")
{
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
guid: a16566a6ce6ba9a44876de4d28e11422
guid: 4bc62546e2a637649a2748bbeb872065
timeCreated: 1512582417
licenseType: Free
NativeFormatImporter:
......
fileFormatVersion: 2
guid: 1c2f3df13d9276d48bde164b00bd9c60
guid: f54cd7261f6305d488ae90d958a9aa0d
timeCreated: 1513047512
licenseType: Free
TextureImporter:
......
......@@ -3,7 +3,12 @@
--- !u!78 &1
TagManager:
serializedVersion: 2
tags: []
tags:
- BlueObstacle
- YellowObstacle
- GreenObstacle
- Background
- PurpleObstacle
layers:
- Default
- 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