TrevTV-AudioImportLib icon

AudioImportLib

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

Last updated 3 months ago
Total downloads 137396
Total rating 10 
Categories Code Mods
Dependency string TrevTV-AudioImportLib-1.3.0
Dependants 108 other packages depend on this package

This mod requires the following mods to function

LavaGang-MelonLoader-0.6.4 icon
LavaGang-MelonLoader

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

Preferred version: 0.6.4

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.