Commit 04cdfc0c by Raphael

Fixed UI size

parent 8fcaa963
No preview for this file type
...@@ -22,6 +22,7 @@ namespace Assets.Scripts ...@@ -22,6 +22,7 @@ namespace Assets.Scripts
{ {
size = BG.GetComponent<SpriteRenderer>().sprite.bounds.size; size = BG.GetComponent<SpriteRenderer>().sprite.bounds.size;
tra = BG.GetComponent<Transform>(); tra = BG.GetComponent<Transform>();
Screen.orientation = ScreenOrientation.LandscapeLeft;
} }
void Update() void Update()
......
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