Fit an overlay canvas to the same position in all resolutions
Hello all! This is not too important at the moment as I'm only just starting my new game, but I want to get it out the way to be honest... I may not be explaining it very well but how could I get an overlay canvas to fit to the same position in all resolutions? So far on the canvas I have two buttons that need to always appear in the top-left corner. This image shows a 16:9 ratio which is where the buttons should be.
Then here's the 16:10 ratio. Half the damn button gets cut-off here! And then beneath that is the Standalone resolution, where the buttons... well... the image explains it all.
I appreciate any help!
Answer by Murtada58 · Jun 26, 2018 at 11:17 PM
It seems to me that you are having the same problem that I had Im not sure if this will fix your problem but try this
https://answers.unity.com/questions/1522489/how-to-fix-canvascamera-ratio-and-timetimescale-fi.html
Argh yes. That is much better. It's working perfectly now on the x coordinate but for some reason the y coordinate is off slightly in some ratios. It's not a major problem though. Thanks very much! :D