Audio

Sound assets are audio files. An audio system has two main functions: playing background music and playing short sound effects. For sound assets, there is no difference between the two. After all, audio assets are imported into the editor, AudioClip assets perform related audio operations through the AudioSource system component. To use the audio system, please refer to the Audio System documentation.

Supported audio asset formats

Currently, the engine's audio system can support the following formats:

  • .ogg
  • .mp3
  • .wav
  • .mp4
  • .m4a

Use of sound assets

After adding an AudioSource to a Node, drag the imported audio asset from the Asset Manager to the Clip of the node AudioSource to control the sound asset:

results matching ""

    No results matching ""