Master Audio Multiplayer  1.3.8
The ONLY audio framework with extensive turnkey multiplayer features!
DarkTonic.MasterAudio.AudioUtil Class Reference

This class contains frequently used methods for audio in general. More...

Static Public Member Functions

static float GetAudioPlayedPercentage (AudioSource source)
 This method will tell you the percentage of the clip that is done Playing (0-100). More...
 
static bool IsClipPaused (AudioSource source)
 This method returns whether an AudioSource is paused or not. Only used by PlaylistControllers. More...
 

Detailed Description

This class contains frequently used methods for audio in general.

Member Function Documentation

static float DarkTonic.MasterAudio.AudioUtil.GetAudioPlayedPercentage ( AudioSource  source)
static

This method will tell you the percentage of the clip that is done Playing (0-100).

Parameters
sourceThe Audio Source to calculate for.
Returns
(0-100 float)
static bool DarkTonic.MasterAudio.AudioUtil.IsClipPaused ( AudioSource  source)
static

This method returns whether an AudioSource is paused or not. Only used by PlaylistControllers.

Parameters
sourceThe Audio Source in question.
Returns
True or false

The documentation for this class was generated from the following file: