Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
SunsetHigh
BGMusic
setVolume
SunsetHigh.BGMusic.setVolume C# (CSharp) Method
BGMusic Class Documentation
Mostrar archivo
Open project: ErraticUnicorn/MOSH
setVolume()
public
static
method
Changes the volume of playback; BGMusic.SILENCE can be used for muting the song, while BGMusic.FULL_VOLUME can unmute.
public
static
setVolume
(
float
volume
) :
void
volume
float
return
void
public static void setVolume(float volume) { if (file != null) file.Volume = volume; }
BGMusic
OnFadeOver
OnFadeOverFadeIn
dispose
fadeIn
fadeOut
isLooping
isPaused
playSong
setLooping
setPaused
setVolume
stopSong
transitionToSong
transitionToSongWithFadeIn
tryAllFileTypes