I'm just curious, but why don't you use the screen.width and screen.height properties from unity? You could have a bool for aspect ratio (16:9 or 4:3 default) and scale for each element inside those cases.
At least in the few things I've made in Unity it's seemed to work fine all the way up from 1024x768-2048x1536/1280x720-1920x1080...they are all RPGs so I have utterly stupid amounts of UI elements.
You can scale the alignment in this manner as well. It takes a bit more than screen.height/width / x, but it's not too bad.
PS: I found your debug menu in the pre-alpha 254, and just googled around, and I don't see any other reference to it. May I ask if it's still there? Thought I'd ask since I found you on here
At least in the few things I've made in Unity it's seemed to work fine all the way up from 1024x768-2048x1536/1280x720-1920x1080...they are all RPGs so I have utterly stupid amounts of UI elements.
You can scale the alignment in this manner as well. It takes a bit more than screen.height/width / x, but it's not too bad.
PS: I found your debug menu in the pre-alpha 254, and just googled around, and I don't see any other reference to it. May I ask if it's still there? Thought I'd ask since I found you on here
