Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Add Sounds in Game | Unity UI and Sounds
course content

Conteúdo do Curso

Unity for Beginners

Add Sounds in GameAdd 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.

Tudo estava claro?

Seção 4. Capítulo 6
course content

Conteúdo do Curso

Unity for Beginners

Add Sounds in GameAdd 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.

Tudo estava claro?

Seção 4. Capítulo 6
some-alt