Unity – Add Sound in the Game

This Unity tutorial demonstrates three ways to add sound to a game: 1. By scripting audio to play after a collision. 2. By adding audio to a localized gameobject so that the sound level varies based on how close the player is to it. 3. By adding audio to the player so...

Unity – Simple Target Hit GUI

This tutorial shows how to make a gun that shoots projectiles, how to make the projectiles go away, how to destroy objects with a script, and how to create a simple script that will show the GUI message “Target Hit!”. There is another slightly more...