Go to File ¦ Build and Run. Now, select Web Player and click on Add Current (see the next screenshot):
Click on Build & Run
Click on Make New Folder and add a folder with a random name to your desktop.
Click on OK and wait for the game to compile.
When a web page comes up, click Install Now!
On the Unity website click on Install Now. Run the file and follow the instructions.
Now go to your desktop and open the folder you created. Double-click on the
WebPlayer.htm
document.Away you go in a web browser!
Unity is Middleware, which means it's a middle of the pipeline software program. It takes your assets, turns them into a game, and delivers them on as many gaming platforms as possible. You've just tried out one of them – Web. You can also deliver games to:
PC
Mac OS
iOS (Apple's iPad, iPhone and iPod)
Android (Google's mobile platform)
Xbox 360
PS3
Wii
With the free version of Unity, you can publish to PC, Mac, and Web.
You can now...