L
L
Likeyourbrother2018-02-24 23:19:40
css
Likeyourbrother, 2018-02-24 23:19:40

How to make UNITY window responsive in browser in fullscreen mode?

Guys tell me newbie! There is only one block and this is the window for unity, the whole idea is that when you open the html page, the unity window is displayed in full screen. The whole problem is to make the window responsive when changing the size of the browser. While we managed to achieve an adaptability curve, and then after updating the page, do not swear much, I'm a noob!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Glebov, 2018-03-01
@GLeBaTi

1) make in html width: 100%; height: 100%" for the container unit
2) make the window snap to the edges:
5a981e281d551027083592.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question