How to Host Unity Games on the Web
In my last article we use build game for PC, Mac & linux..This time we will use WebGL to deploy the game on Web.
Build WebGL and Deploy to a hosting web server..like Github/Simmer.io
To make a WebGL build, go to File > Build Settings and then choose the WebGL platform & Click Build and Settings as shown below.
Note:If your project uses Linear Color Space, change it to use Gamma in the project settings.
It will add the WebGL Builds /files under the folder that contains as below
Once these files are committed to the repository , go to Settings /Pages, select the branch and root folder and save it.
It will publish the content to the website: https://anuragcin.github.io/WebGL/
When clicked..it will load the WebGL for Unity and play the game and share to the world..!!