- Home /
Is there any way to change Preview resolution by code?
Hi there! I want to know if there is any chance to change by code the preview resolution. I mean, in the tab Game there are different resolutions (Free aspect, ect.) and for example in web or pc you can change it to an specific resolution meanwhile in ios or android you have some devices resolutions.
Thanks!
Answer by $$anonymous$$ · Mar 01, 2013 at 02:35 AM
Check out the Screen.SetResolution
function here.
Answer by Martin_Gonzalez · Mar 01, 2013 at 03:10 AM
Thanks Ben but its not that what im trying to find, i want to change the editor preview resolution, where you can see "free aspect" and another resolutions in the Game Tab
Your answer

Follow this Question
Related Questions
Why image resolution changed after making atlas by using NGUI Altlas maker?[Solved] 1 Answer
how I can change the screen resolution in real time? 1 Answer
Resolution is not saving. 2 Answers
Resolutions duplicates in options menu 0 Answers
How to make game recognise Screen resolution on startup 1 Answer