Question by
agolho · Sep 17, 2015 at 11:02 PM ·
resolutionscreen
QuadHD and 4K resolution downscaling
Hi, me again.
I designed a game, it runs fantastic on 720p devices. But when my friend come and show me my game running crappy at note 4 i couldn't believe my eyes.
I realised my game cannot be run at 4K, so i am looking for a way to limit the resolution to 1080 by default.
TL;DR :Is there a way of limiting the maximum screen resolution?
edit: it's on android, only on android.
Comment
Answer by Tanoshimi2000 · Mar 14, 2016 at 12:44 PM
Use Screen.SetResolution in a Start Script. As long as no other scripts change it during an Update phase, you're good to go.
Here are the docs on it. http://docs.unity3d.com/ScriptReference/Screen.SetResolution.html
Your answer