C# Class PSound.PSoundPlayer, uProcessing

Show file Open project: nryota/uProcessing

Public Methods

Method Description
PSoundPlayer ( ) : System
clear ( ) : void
clearBGM ( ) : void
clearSE ( ) : void
isPauseBGM ( ) : bool
isPlayingBGM ( ) : bool
pauseBGM ( ) : void
playBGM ( ) : void
playBGM ( string bgmName, float volume = 1.0f, float fadeTime = 0.0f ) : void
playSE ( string seName, float volume = 1.0f ) : bool
reserveBGM ( string resourceName, string name = null ) : void
reserveSE ( string resourceName, string name = null ) : void
resumeBGM ( ) : void
setBGMVolume ( float scale ) : void
setLoopBGM ( bool isLoop ) : void
setSEVolume ( float scale ) : void
stopBGM ( float fadeTime ) : void
update ( ) : void

Method Details

PSoundPlayer() public method

public PSoundPlayer ( ) : System
return System

clear() public method

public clear ( ) : void
return void

clearBGM() public method

public clearBGM ( ) : void
return void

clearSE() public method

public clearSE ( ) : void
return void

isPauseBGM() public method

public isPauseBGM ( ) : bool
return bool

isPlayingBGM() public method

public isPlayingBGM ( ) : bool
return bool

pauseBGM() public method

public pauseBGM ( ) : void
return void

playBGM() public method

public playBGM ( ) : void
return void

playBGM() public method

public playBGM ( string bgmName, float volume = 1.0f, float fadeTime = 0.0f ) : void
bgmName string
volume float
fadeTime float
return void

playSE() public method

public playSE ( string seName, float volume = 1.0f ) : bool
seName string
volume float
return bool

reserveBGM() public method

public reserveBGM ( string resourceName, string name = null ) : void
resourceName string
name string
return void

reserveSE() public method

public reserveSE ( string resourceName, string name = null ) : void
resourceName string
name string
return void

resumeBGM() public method

public resumeBGM ( ) : void
return void

setBGMVolume() public method

public setBGMVolume ( float scale ) : void
scale float
return void

setLoopBGM() public method

public setLoopBGM ( bool isLoop ) : void
isLoop bool
return void

setSEVolume() public method

public setSEVolume ( float scale ) : void
scale float
return void

stopBGM() public method

public stopBGM ( float fadeTime ) : void
fadeTime float
return void

update() public method

public update ( ) : void
return void