I am trying to open my Unity application through command prompt. I would like to pass on width and height so it could open in that resolution. I am using Screen.SetResolution() but I don't know how to pass the arguments:
// Use this for initialization
void Awake()
{
Screen.SetResolution(h, w, false);
}
Command line - UnityApp.exe -screen-width 800 -screen-height 570 -screen-fullscreen 0