How to simply change resolution depending on the scene active?

I am creating a 2D Turn Based RPG game, and right now I’ve created a Main Menu, Map and First Level.

My Main Menu and Map is currently set on 460x530 resolution, while my Level resolution is meant to be 800x530.

How can I make sure that different scenes has a different resolution? Cause right now unity decided that I want all the scenes to have one resolution.

Thank you.

Take a look at Screen.SetResolution.