Hello,
I’m working on a 2D game and I have setup my scene, where I want floor to be at the bottom of the camera vision (in other words, just to be at the bottom), I want one of the characters to be on the left side of the screen and there are many other objects which I want to be in specific places. Now I’ve noticed that when I have everything perfectly positioned on one aspect ratio, once I turn to some different one, I would have to replace everything. So I guess there should be a way to tell unity that a specific object has to be positioned at some specific position depending on the users screen (somewhat like UI I assume). How do I do this?
Thanks
As far as I’m aware there is no built in solution for this. Unity normally deals with aspect ratio by simply adjusting the camera size.
You can manually detect the resolution and move objects accordingly. Or you can put borders around your screen.
Thanks for reply. I found some kind of script which disables any other aspect ratio option other than what I would want for user to use. I hope you understand what I mean