Created
May 17, 2019 02:41
-
-
Save ezirmusitua/ddd1d03dc4352d3fefe47251af69b0e5 to your computer and use it in GitHub Desktop.
[Get screen size] Get screen width & height #unity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vector2 GetScreenSize() { | |
return new Vector2(Screen.width, Screen.height); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment