C# Class AudioHandlerScript, DarkDreams

Inheritance: MonoBehaviour
Mostra file Open project: technicalvgda/DarkDreams Class Usage Examples

Public Properties

Property Type Description
music UnityEngine.AudioSource
musicClips UnityEngine.AudioClip[]
musicVolume float
soundClips UnityEngine.AudioClip[]

Public Methods

Method Description
LoopMusic ( bool b ) : void
PlayMusic ( int i ) : void
PlaySound ( int i ) : void
PlayVoice ( string voiceClip ) : void
Start ( ) : void
StopMusic ( ) : void

Method Details

LoopMusic() public method

public LoopMusic ( bool b ) : void
b bool
return void

PlayMusic() public method

public PlayMusic ( int i ) : void
i int
return void

PlaySound() public method

public PlaySound ( int i ) : void
i int
return void

PlayVoice() public method

public PlayVoice ( string voiceClip ) : void
voiceClip string
return void

Start() public method

public Start ( ) : void
return void

StopMusic() public method

public StopMusic ( ) : void
return void

Property Details

music public_oe property

public AudioSource,UnityEngine music
return UnityEngine.AudioSource

musicClips public_oe property

public AudioClip[],UnityEngine musicClips
return UnityEngine.AudioClip[]

musicVolume public_oe property

public float musicVolume
return float

soundClips public_oe property

public AudioClip[],UnityEngine soundClips
return UnityEngine.AudioClip[]