Semi Mod Loader
|
Public Member Functions | |
override void | Dispose () |
Releases all resource used by the Semi.Audio object. More... | |
override void | Pause () |
Pause this audio track. More... | |
override void | Play () |
Play this audio track. More... | |
override void | Resume () |
Resume this audio track. More... | |
override void | Stop () |
Stop this audio track. More... | |
Properties | |
override bool | IsPlaying [get] |
override float | Pitch [get, set] |
override float | Volume [get, set] |
float | Length [get] |
Gets the total length of this music track. More... | |
float | TimePlayed [get] |
Gets the time that this music track has been played for. More... | |
![]() | |
static float | SoundVolume [get, set] |
Volume for Sound set in the settings. More... | |
static float | MusicVolume [get, set] |
Volume for Music set in the settings. More... | |
static float | UIVolume [get, set] |
Volume for UI set in the settings. More... | |
abstract float | Volume [get, set] |
Gets or sets the volume of this track. More... | |
abstract float | Pitch [get, set] |
Gets or sets the pitch of this track. More... | |
abstract bool | IsPlaying [get] |
Whether this audio track is currently playing. More... | |
Additional Inherited Members | |
![]() | |
enum | VolumeCategory { VolumeCategory.Sound, VolumeCategory.Music, VolumeCategory.UI } |
Volume category, one value for each bar in settings. More... | |
![]() | |
static void | Play (string id, GameObject source=null) |
Plays an audio track with the specified ID. More... | |
![]() | |
VolumeCategory | Category |
The volume category of this audio track. More... | |
|
inlinevirtual |
Releases all resource used by the Semi.Audio object.
Call Dispose when you are finished using the Semi.Audio. The Dispose method leaves the Semi.Audio in an unusable state. After calling Dispose, you must release all references to the Semi.Audio so the garbage collector can reclaim the memory that the Semi.Audio was occupying.
Implements Semi.Audio.
|
inlinevirtual |
Pause this audio track.
Implements Semi.Audio.
|
inlinevirtual |
Play this audio track.
Implements Semi.Audio.
|
inlinevirtual |
Resume this audio track.
Implements Semi.Audio.
|
inlinevirtual |
Stop this audio track.
Implements Semi.Audio.
|
get |
|
get |
Gets the total length of this music track.
The length.
|
getset |
|
get |
Gets the time that this music track has been played for.
The time played.
|
getset |