Get user selected Resolution at runtime on standalone windowed build

Hi

In attached image there various resolutions to select. how can i get which resolution user has selected before pressing “Play” Button at runtime.

Unity - Scripting API: Screen” This class does not seem to provide this option. Is there any other way to do it. I have searched about it but not got any solution.

Regards
Bhupinder

You can get settings from PlayerPrefs. Keys are:

  • “Screenmanager Resolution Height”
  • “Screenmanager Resolution Width”
  • “Screenmanager Is Fullscreen mode”
  • “UnityGraphicsQuality”