Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float aspect = ((float)Screen.currentResolution.width / (float)Screen.currentResolution.height);
- // Fix 18:9 screen
- if (aspect <= 0.53)
- {
- this.transform.localScale = new Vector3(0.85f, 0.85f, 0.85f);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement