C# Class AdagioAudio, Adagio

Inheritance: MonoBehaviour
Datei anzeigen Open project: technicalvgda/Adagio Class Usage Examples

Public Properties

Property Type Description
audioBgm UnityEngine.AudioSource
audioSe UnityEngine.AudioSource[]
clipBgm UnityEngine.AudioClip[]
clipSe UnityEngine.AudioClip[]

Public Methods

Method Description
PlayBgm ( int index, bool loop ) : void
PlaySe ( int index ) : void
PlaySe ( int index, int source ) : void
SetBgmVolume ( float value ) : void
SetSeVolume ( float value ) : void
StopBgm ( ) : void
StopSe ( ) : void

Method Details

PlayBgm() public method

public PlayBgm ( int index, bool loop ) : void
index int
loop bool
return void

PlaySe() public method

public PlaySe ( int index ) : void
index int
return void

PlaySe() public method

public PlaySe ( int index, int source ) : void
index int
source int
return void

SetBgmVolume() public method

public SetBgmVolume ( float value ) : void
value float
return void

SetSeVolume() public method

public SetSeVolume ( float value ) : void
value float
return void

StopBgm() public method

public StopBgm ( ) : void
return void

StopSe() public method

public StopSe ( ) : void
return void

Property Details

audioBgm public_oe property

public AudioSource,UnityEngine audioBgm
return UnityEngine.AudioSource

audioSe public_oe property

public AudioSource[],UnityEngine audioSe
return UnityEngine.AudioSource[]

clipBgm public_oe property

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

clipSe public_oe property

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