Concepts in Unity's audio system and video system
Unity provides video and audio features, allowing your game to play videos on different platforms, and supports real-time mixing and full 3D spatial sound effects. In this section, we will introduce important concepts of the Unity audio system and video system.
Audio clips
In order to be able to play audio in Unity, we need to import an audio file into the Unity editor first. The audio data will be saved in an audio clip object in Unity. We can download and import the Ultra Sci-Fi Game Audio Weapons Pack Vol. 1 from Unity Asset Store at the following link: https://assetstore.unity.com/packages/audio/sound-fx/weapons/ultra-sci-fi-game-audio-weapons-pack-vol-1-113047. You can see this in the following screenshot:
The format of the audio files contained in this pack is .wav
. In addition to .wav
files that can be imported into Unity, Unity...