TrevTV-AudioImportLib icon

AudioImportLib

A simple mod library that allows mod creators to import audio files as AudioClips.

Last updated a year ago
Total downloads 107891
Total rating 6 
Categories Code Mods
Dependency string TrevTV-AudioImportLib-1.2.0
Dependants 75 other packages depend on this package

This mod requires the following mods to function

LavaGang-MelonLoader-0.5.6 icon
LavaGang-MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono

Preferred version: 0.5.6

README

Audio Import Lib

A library to allow code modders to import common audio file formats into AudioClips that are playable in-game.

API

There is only one method in the API. AudioImportLib.API.LoadAudioClip(string absolutePathToFile, bool dontUnloadUnusedAsset = true); The first parameter is the local path to the audio file. The second parameter determines if the lib will automatically set the clip's hideflags to DontUnloadUnusedAsset to prevent Unity from collecting it.

What if I already have Bass.Net and bass.dll installed?

It shouldn't conflict.

Does this support r2modman?

It should.