- Home /
Question by
SweatyChair · Feb 27, 2018 at 01:48 AM ·
resolutionscreenresolution settings
Get the originial Screen resolution, after Screen.SetResolution in mobile?
I have a setting page to allow player to set lower resolution for performance, which is save and set at game launch, using Screen.SetResolution()
At some point I want to get the original resolution, is Unity has it? E.g. somthing like Screen.originialWidth and Screen.orginialHeight.
I can have a script to cache those at the very beginning, but should be great if Unity already has it.
Comment
P.S. reason I want this is I am using iPhoneX's SafeArea, which gives area with 1125x2436 which I need to convert it into current resolution...