Skip to content

Commit

Permalink
Updated Unity and updated logo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbourgeois committed Nov 7, 2018
1 parent 17a53a8 commit 7adb043
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 14 deletions.
12 changes: 6 additions & 6 deletions Assets/Main.unity
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Transform:
m_LocalScale: {x: 72.042885, y: 72.042885, z: 72.042885}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &634186155
GameObject:
Expand Down Expand Up @@ -249,7 +249,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1001 &876118244
Prefab:
Expand Down Expand Up @@ -288,7 +288,7 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 4679437618935694, guid: 79c2718dd59243e4c90e145349e7dadf, type: 2}
propertyPath: m_RootOrder
value: 4
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224261597021104126, guid: 79c2718dd59243e4c90e145349e7dadf,
type: 2}
Expand Down Expand Up @@ -323,7 +323,7 @@ Prefab:
- target: {fileID: 114208101852879420, guid: 79c2718dd59243e4c90e145349e7dadf,
type: 2}
propertyPath: m_UiScaleMode
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 114208101852879420, guid: 79c2718dd59243e4c90e145349e7dadf,
type: 2}
Expand Down Expand Up @@ -408,7 +408,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1025062260
MonoBehaviour:
Expand Down Expand Up @@ -542,5 +542,5 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
2 changes: 1 addition & 1 deletion Assets/Materials/QuadMat.mat
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ Material:
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0, g: 1, b: 1, a: 1}
- _Color: {r: 0, g: 0, b: 0, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
13 changes: 8 additions & 5 deletions Assets/Scripts/InputManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@ private void Update()

#if UNITY_ANDROID
// Check if there is a touch
if (Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Began)
if (Input.touchCount > 0)
{
// Check if finger is over a UI element
if (!IsPressed && !EventSystem.current.IsPointerOverGameObject(Input.GetTouch(0).fingerId))
if (Input.GetTouch(0).phase == TouchPhase.Began)
{
ToggleUI();
// Check if finger is over a UI element
if (!IsPressed && !EventSystem.current.IsPointerOverGameObject(Input.GetTouch(0).fingerId))
{
ToggleUI();
IsPressed = true;
}
}
IsPressed = true;
}
else
{
Expand Down
Binary file modified Assets/Textures/logo3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion ProjectSettings/GraphicsSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ GraphicsSettings:
- {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16002, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: []
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
type: 0}
Expand Down
2 changes: 1 addition & 1 deletion ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
m_EditorVersion: 2018.2.11f1
m_EditorVersion: 2018.2.14f1

0 comments on commit 7adb043

Please sign in to comment.