|
I have a really strange error with getting the screen size
This script give me back width = 1252 (Correct) and height = 30?? (Sometimes 20??) Instead when I directly use Debug.Log(Screen.height); it is correct? Whats this for a really strange problem? Thanks
(comments are locked)
|
|
you really shouldn't be setting it there (It's set before things are completely set up if you do) put the assign in Awake or Start, and it should fix the problem Thanks, when putting it into awake, it is working fine. Dont know why width worked but ok :)
Jun 16 '10 at 04:33 PM
Tobias
(comments are locked)
|
