I’m working some code that is executed in-editor (while not playing), and I’ve noticed that when not playing, Screen.height, as well as Camera.main.pixelHeight returns the height of the scene view rather than the game view. This is causing real problems previewing in the game view as you can imagine.
Is there another technique I’m missing that will return the size of the game view while in edit mode? Otherwise I may be looking at a bug report?
NOTE: This is with Unity iPhone. I’ll test with 2.5 next. EDIT: Yep, same with 2.5.