C# Class AudioControl, Adagio

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

Public Properties

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

Public Methods

Method Description
LoopMusic ( bool b ) : void
PlayMusic ( int i ) : void
PlaySound ( int i ) : void
Start ( ) : void
StopMusic ( ) : void
Update ( ) : 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

Start() public method

public Start ( ) : void
return void

StopMusic() public method

public StopMusic ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

music public_oe property

public AudioSource music
return AudioSource

musicClips public_oe property

public AudioClip[] musicClips
return AudioClip[]

musicVolume public_oe property

public float musicVolume
return float

soundClips public_oe property

public AudioClip[] soundClips
return AudioClip[]