The Ingame Resolution Monitor is a simple MonoBehvaiour which triggers the logic of the Resolution Monitor during runtime.

If the user can change the screen resolution inside of your application, you should use it.

If you are supporting more than one screen type (e.g. Landscape + Portrait) you also should use it, because it needs to inform the UI whenever a new scene is loaded (or when it detects changes).


Creation

To create the Ingame Resolution Monitor, call the following code once at start of your game:


TheraBytes.BetterUi.IngameResolutionMonitor.Create();



Once created, the Ingame Resolution Monitor will not be destroyed anymore. 

So, make sure to create only one at the beginning of the application and not more.