Contenido del Curso
Unity for Beginners
Unity for Beginners
1. Unity Introduction
2. Write your First Script
5. Polishing and Export your Game
Add Sounds in Game
Begin by dragging and dropping your sound file into the assets folder. For example, in this scenario, we've dragged a sound file that plays when the player wins.
After that, drag the audio clip from the assets folder into the effects list within the sounds manager.
Now, add the following line to the winning condition.
Once the player wins, the sound effect corresponding to element number 1 in the list will be played.
You can add more sound effects with this way, and everything will work perfectly.
What’s next:
Next we will start polishing our game and makes it look better by improving the game visuals and using the particle system.
¿Todo estuvo claro?