I am currently trying to make a basic game for mobile. I want to be able to play the game on both iPad and iPhone. How can I make the game such that it scales according to screen size, keeping the same proportions and having all GameObjects fit within the game view? I tried using the solution at this 1 but I found it kind of vague, in that it doesn’t mention where to attach some of the scripts. Thanks in advance.
There should be an option in your UI canvas that says scale with screen size. From there, just make sure your ui is dynamic. By dynamic i mean not set things to certain position on the canvas but anchored to parts of the canvas with offsets. Hope that helps.