Skip to content

T_MSCLoader_ModAudio

piotrulos edited this page Apr 7, 2023 · 4 revisions

ModAudio Class

Audio library (play local *.mp3, *.ogg, *.wav, *.aiff, *.flac)

Inheritance Hierarchy

System.Object
  Object
    Component
      Behaviour
        MonoBehaviour
          MSCLoader.ModAudio
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.2.11.286

Syntax

C#

public class ModAudio : MonoBehaviour

View Source
The ModAudio type exposes the following members.

Methods

 

Name Description
Public method LoadAudioFromFile Load audio from file
Public method Play() Play loaded audio file
Public method Play(Single, Single) Play loaded audio file from specifed time.
Public method Stop Stop playing audio file
Public method Time Get current time position of audio file
Public method TotalTime Get total time of audio file
  Back to Top

Fields

 

Name Description
Public field audioSource Your AudioSource goes here
  Back to Top

See Also

Reference

MSCLoader Namespace

Clone this wiki locally