How to Host Unity Games on the Web.

The first thing we need to do, is left click on File, then left click on Build Settings, as shown below:

This will open up the following screen:

Next, we need to select the WebGL Platform, which will bring up:

Next, we need to click on the Switch Platform button at the bottom, which will recompile the scripts to use for the we. As can be seen there is the following error:

In order to fix this, we need to click on Player Settings, and change Linear to Gamma as shown below:

Then we can just click X to exit that, then click on Build, create and select a folder to save to; such as Web Build Demo. Once complete; barring any errors; the File Explorer will pop up. Now we can upload these files to our website, or another hosting platform.