- 音频
- 音频文件
- Import audio files into Unity
Audio file compression in Unity
Import audio files into Unity
Import audio files into your Unity project to include custom sounds in your Unity applications.
For a list of the various audio file types Unity supports, refer to Audio file format compatibility.
There are multiple ways to import an audio file into your Unity project. Choose one of the following:
Import an audio file via the menu
To use the menu to add your audio file to Unity:
- In the menu, select Assets > Import New Asset.
- Locate and select your audio file.
- Select Import.
Unity imports your audio file into your project as an Audio Clip.
Import an audio file via click-and-drag
- Locate your file in your file directory outside of Unity.
- Click and drag your file into your open Unity project Project window.
Unity imports your audio file into your project as an Audio Clip.
Additional resources
Audio file compression in Unity
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。