- Home /
Change Resolution Scaling Mode by script (Android) (SOLVED FOR ME)
It is possible to access to change the value by script for Platform Android
Changing from Default to Fixed DPI (150) the Resolution Scaling Mode, in a menu option, for exemple?
ALTERNATIVE SOLUTION
SOLUTION FOR ME
Screen.SetResolutions(640,360,true); // VR OFF
Screen.SetResolutions(1920,1080,true); // VR ON
Thxs
Answer by MSSK15 · Aug 21, 2019 at 12:05 PM
You can use QualitySettings.resolutionScalingFixedDPIFactor = value;
Answer by megaestudio · Aug 21, 2019 at 03:50 PM
Hi @Sai14 ,
Thanks,
I'm testing if this works:
Screen.SetResolution (640,360, true); for example. or Screen.SetResolution (1920,1080,true);
I can use this DPIFactor, yes. But I want to change the status of the Resolution Scaling Mode, Default or Fixed DPI value, and the target DPI value, but not the DPI factor.
The DPI factor really changes this value in the Player Settings / Quality section:
Your answer
Follow this Question
Related Questions
How do I get the y coordinate of a terrain at any time? 1 Answer
Collider looses cloth 2 Answers
Move player to left and right 1 Answer
Enable image on mouse click 2 Answers
Is it possible to obtain velocity relative to rotation? 0 Answers