|
static void | Play (string id, GameObject source=null) |
| Plays an audio track with the specified ID. More...
|
|
◆ VolumeCategory
Volume category, one value for each bar in settings.
◆ Dispose()
abstract void Semi.Audio.Dispose |
( |
| ) |
|
|
pure virtual |
◆ Pause()
abstract void Semi.Audio.Pause |
( |
| ) |
|
|
pure virtual |
◆ Play() [1/2]
abstract void Semi.Audio.Play |
( |
| ) |
|
|
pure virtual |
◆ Play() [2/2]
static void Semi.Audio.Play |
( |
string |
id, |
|
|
GameObject |
source = null |
|
) |
| |
|
inlinestatic |
Plays an audio track with the specified ID.
- Parameters
-
id | ID of the audio track. |
source | Source GameObject. |
◆ Resume()
abstract void Semi.Audio.Resume |
( |
| ) |
|
|
pure virtual |
◆ Stop()
abstract void Semi.Audio.Stop |
( |
| ) |
|
|
pure virtual |
◆ Category
The volume category of this audio track.
◆ IsPlaying
abstract bool Semi.Audio.IsPlaying |
|
get |
Whether this audio track is currently playing.
true
if it is playing; otherwise, false
.
◆ MusicVolume
float Semi.Audio.MusicVolume |
|
staticgetset |
Volume for Music set in the settings.
0f -> 1f
◆ Pitch
abstract float Semi.Audio.Pitch |
|
getset |
Gets or sets the pitch of this track.
The pitch.
◆ SoundVolume
float Semi.Audio.SoundVolume |
|
staticgetset |
Volume for Sound set in the settings.
0f -> 1f
◆ UIVolume
float Semi.Audio.UIVolume |
|
staticgetset |
Volume for UI set in the settings.
0f -> 1f
◆ Volume
abstract float Semi.Audio.Volume |
|
getset |
Gets or sets the volume of this track.
The volume.
The documentation for this class was generated from the following file: