Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Sonidos en Unity | Interfaz y Sonidos de Unity
Unity para Principiantes
course content

Contenido del Curso

Unity para Principiantes

Unity para Principiantes

1. Introducción a Unity
2. Escribe tu Primer Script
3. Física de Unity
4. Interfaz y Sonidos de Unity
5. Pulido y Exportación de tu Juego

book
Sonidos en Unity

Importing Audio Assets

To get started with sounds in Unity, you'll need some audio assets. These are sound files that you can either create yourself or download for free from the internet. Once you have your audio files ready, importing them into Unity is simple: just drag and drop them into the "Assets" folder in the Unity Editor. This will make them available for use in your project.

Importación de Activos de Audio

Primero, necesitas activos de audio para usar en tu proyecto de Unity. Puedes crear tus propios archivos de audio o encontrar activos de audio de uso libre en línea. Una vez que tengas tus archivos de audio, puedes importarlos a tu proyecto de Unity arrastrándolos a la carpeta "Assets" en el Editor de Unity.

Setting up the AudioSource

Once you've added the AudioSource component to your GameObject, you can configure it in the Inspector window:

  • Audio Clip: assign the audio clip you want to play to the "Audio Clip" field. This is the actual sound file you imported in Step 1;

  • Volume: adjust the volume of the audio clip using the "Volume" slider. This controls how loud the sound will be when played;

  • Loop: check the "Loop" checkbox if you want the audio clip to repeat continuously;

  • Spatial Blend: adjusts how much the audio is affected by 3D spatialization. A value of 0 means the audio is 2D (non-spatial), while a value of 1 means the audio is fully 3D spatialized;

  • Play On Awake: check this checkbox if you want the audio clip to start playing automatically when the GameObject is activated.

These settings allow you to control how and when your audio plays, making your Unity project more interactive and immersive.

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 4. Capítulo 4
We're sorry to hear that something went wrong. What happened?
some-alt