This seems like a really sensible question to me. I have done this sort of thing in prior games, and it would be really nice to be able to do it with Unity, too.
Of course it’s easy. I do it by creating a shortcut or batch file that starts the exe, instead of running the exe file. For example, a batch file. This is just an example, so say our EXE name is RUN.EXE. You would open Notepad, type the following:
start RUN.EXE -popupwindow
Then File> Save as> and in the filename where it says .txt originally, just remove that and use an asterick and a bat extension (*.bat) Hit ENTER, then it will know you want to save as a bat file. Now just type in a name like Launcher.bat, don’t forget to remove the asterick but keep the .bat extension. Now you would run this Launcher file. The argument -popupwindow is what allows your Unity Standalone EXE to run without borders
Also if you create a shortcut to your exe on your desktop, just go to the shortcut properties and add the -popupwindow argument to the target.
There is now a setting in Player Settings for the fullscreen mode. Set it to Fullscreen Window.
Fullscreen is different from borderless; a borderless window does not have to cover the entire screen. Fullscreen does. When you're driving 2 monitors, each with their own app, borderless windows are useful (you can't use Fullscreen in that case).
You can use external tools such as AutoHotKey to get rid of the window decorations/borders/title. Note however that Unity's rendering canvas will be scaled, not resized, so you will lose some Anti-Aliasing quality - unless you have AA disabled, in which case you will gain some antialiasing due to the interpolated scaling.
I just uploaded a unity build-in plugin that lets you do exactly what you ask for (Removing window borders and gives you the ability to move and resize the window through code)
Why is this a wiki?
– anon57167543This confuses me too... what is going on here?
– anon65516157This seems like a really sensible question to me. I have done this sort of thing in prior games, and it would be really nice to be able to do it with Unity, too.
– x4000As far as I know, there is no option on the API to run your app borderless :(, if you get to know how, let me know :)
– naruseHave you tried my script.
– AshwinTheGammer