Hi I’m very new to unity the moment I’m trying to make a 2-D for game PC stand-alone. I have placed a block to the top left corner in the fullscreen game’s view but when I build and run the game the block has space around it which correspond with the borders of the game view box (I have pictures below). Is there a way of turning off fullscreen game view borders. So when I’m “ build run game” view are exactly the same i.e the block on both screens is in the top left corner without any gaps around it.
The C code I’m using the camera is
void Awake(){
camera.orthographicSize = ((Screen.height / 2.0f) / 100f);
}
[33379-build+and+run+view.png|33379]
Thank you for your help I have not used any platform dependent code.I want the game to be in proportion on any size monitor screen by using the C code “void Awake(){ camera.orthographicSize = ((Screen.height / 2.0f) / 100f);”. And then manually placing the block to the top left corner of the game view using transform. I thought of two workarounds, fudge the Build Run Game view so that the block is in the right place regardless what the game view indicate. Or give the game a big border make the first block position 1,1 rather than 0.0.
– Griff42