Method | Description | |
---|---|---|
PSound ( ) : System | ||
clear ( ) : void | ||
clearBGM ( ) : void | ||
clearSE ( ) : void | ||
destroy ( ) : void | ||
isPauseBGM ( ) : bool | ||
isPlayingBGM ( ) : bool | ||
pauseBGM ( ) : void | ||
playBGM ( ) : void | ||
playBGM ( string name, float volume = 1.0f, float fadeTime = 0.0f ) : void | ||
playSE ( string name, float volume = 1.0f ) : void | ||
reserveBGM ( string resourceName, string name = null ) : void | ||
reserveSE ( string resourceName, string name = null ) : void | ||
setBGMVolume ( float scale ) : void | ||
setLoopBGM ( bool isLoop ) : void | ||
setSEVolume ( float scale ) : void | ||
setup ( bool dontDestroyOnLoad = false ) : void | ||
stopBGM ( float fadeTime = 0.0f ) : void | ||
update ( ) : void |
Method | Description | |
---|---|---|
ready ( ) : void |
public static playBGM ( string name, float volume = 1.0f, float fadeTime = 0.0f ) : void | ||
name | string | |
volume | float | |
fadeTime | float | |
return | void |
public static playSE ( string name, float volume = 1.0f ) : void | ||
name | string | |
volume | float | |
return | void |
public static reserveBGM ( string resourceName, string name = null ) : void | ||
resourceName | string | |
name | string | |
return | void |
public static reserveSE ( string resourceName, string name = null ) : void | ||
resourceName | string | |
name | string | |
return | void |
public static setBGMVolume ( float scale ) : void | ||
scale | float | |
return | void |
public static setLoopBGM ( bool isLoop ) : void | ||
isLoop | bool | |
return | void |
public static setSEVolume ( float scale ) : void | ||
scale | float | |
return | void |
public static setup ( bool dontDestroyOnLoad = false ) : void | ||
dontDestroyOnLoad | bool | |
return | void |
public static stopBGM ( float fadeTime = 0.0f ) : void | ||
fadeTime | float | |
return | void |