C# Class PSound, uProcessing

Mostrar archivo Open project: nryota/uProcessing Class Usage Examples

Public Methods

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

Private Methods

Method Description
ready ( ) : void

Method Details

PSound() public method

public PSound ( ) : System
return System

clear() public static method

public static clear ( ) : void
return void

clearBGM() public static method

public static clearBGM ( ) : void
return void

clearSE() public static method

public static clearSE ( ) : void
return void

destroy() public static method

public static destroy ( ) : void
return void

isPauseBGM() public static method

public static isPauseBGM ( ) : bool
return bool

isPlayingBGM() public static method

public static isPlayingBGM ( ) : bool
return bool

pauseBGM() public static method

public static pauseBGM ( ) : void
return void

playBGM() public static method

public static playBGM ( ) : void
return void

playBGM() public static method

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

playSE() public static method

public static playSE ( string name, float volume = 1.0f ) : void
name string
volume float
return void

reserveBGM() public static method

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

reserveSE() public static method

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

setBGMVolume() public static method

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

setLoopBGM() public static method

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

setSEVolume() public static method

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

setup() public static method

public static setup ( bool dontDestroyOnLoad = false ) : void
dontDestroyOnLoad bool
return void

stopBGM() public static method

public static stopBGM ( float fadeTime = 0.0f ) : void
fadeTime float
return void

update() public static method

public static update ( ) : void
return void