From 04cdfc0c1c11a44f61cf921bc374a7d5af9e2e3c Mon Sep 17 00:00:00 2001 From: Naliwe Date: Tue, 25 Oct 2016 15:26:52 +0200 Subject: [PATCH] Fixed UI size --- Assets/Scenes/Main.unity | Bin 44744 -> 0 bytes Assets/Scripts/GameController.cs | 1 + 2 files changed, 1 insertion(+) diff --git a/Assets/Scenes/Main.unity b/Assets/Scenes/Main.unity index eaddd50..24fecd6 100644 Binary files a/Assets/Scenes/Main.unity and b/Assets/Scenes/Main.unity differ diff --git a/Assets/Scripts/GameController.cs b/Assets/Scripts/GameController.cs index 5fc4123..3e8fe45 100644 --- a/Assets/Scripts/GameController.cs +++ b/Assets/Scripts/GameController.cs @@ -22,6 +22,7 @@ namespace Assets.Scripts { size = BG.GetComponent().sprite.bounds.size; tra = BG.GetComponent(); + Screen.orientation = ScreenOrientation.LandscapeLeft; } void Update() -- libgit2 0.27.0