- Home /
 
               Question by 
               calmcarrots · Jan 09, 2017 at 08:10 AM · 
                camerauiorthographic  
              
 
              Find the size of the game screen?

I have an orthographic camera with size 8. I need to figure out the size of the game view relative to the orthographic camera size. I have the size of the black bar (480 units high), what is the calculation to subtract the black bar from the orthographic size?
 
                 
                capture.png 
                (15.4 kB) 
               
 
              
               Comment
              
 
               
              Wouldn't this work?
 Vector2 area = (Screen.height - 480, Screen.width);
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                