AudioInstance_SetAudioFile - MalisPierre/ModularGame GitHub Wiki
AudioInstance.SetAudioFile(string SourcePath, bool IsLooping)
Description:
SetAudioFile Allow you to set the Audio asset (mp3) to the AudioInstance.
Parameters:
- string SourcePath: The Path to the mp3 Asset.
- bool IsLooping: Boolean to loop the sound when it ends.
Code Example:
function SetAudio()
Instance.SetAudioFile("ContentName:BundleName:AudioTest", true)
end