1
vote
How to lock aspect ratio when resizing game window in unity?
After reading the answer above, I created a script which rescales the window every a fixed amount of frames, because changing every frame causes a lot of problems.
Just put it on the MainCamera:
...
- 11
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
javascript × 1400html5 × 317
html-canvas × 263
unity × 132
2d × 112
collision-detection × 93
mathematics × 74
phaser × 58
physics × 57
webgl × 56
node.js × 48
three.js × 45
tilemap × 40
html × 39
c# × 37
architecture × 37
sprites × 37
animation × 36
isometric × 35
3d × 33
browser-based-games × 32
algorithm × 31
multiplayer × 31
movement × 30
box2d × 29