This class contains frequently used methods for audio in general.
More...
|
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...
|
|
This class contains frequently used methods for audio in general.
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
-
source | The 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
-
source | The Audio Source in question. |
- Returns
- True or false
The documentation for this class was generated from the following file:
- MultiplayerMA/Assets/Plugins/DarkTonic/MasterAudio/Scripts/Utility/AudioUtil.cs