Stop the dialogue box from appearing on PC/Mac builds

Hi,

I am going to make the game go full screen at start, so i was wondering how to remove that options screen that shows how big do you want the game, windowed etc. And just make it go full screen by defualt.

It’s just there in the build options → Player settings → resolution and presentation.

Duplicate question!

Check answer by @aldonaletto to this question: Can I disable screen selection etc dialog at startup? which states that:

You can bypass the startup resolution
dialog: Build Settings → Player
Settings → Resolution and
Presentation → Display resolution
dialog: enable/disable. At runtime,
the resolution can be set by
Screen.SetResolution - read about in:

Unity - Scripting API: Screen.SetResolution

I’ve never used this, and I read
recently about a Screen.resolutions
issue:

Screen.resolutions problem - Questions & Answers - Unity Discussions

And also check this question: Any way to remove the standalone settings dialogue?