public void PlaySoundByType (QueryChanSoundType soundNumber) {

		this.GetComponent<AudioSource>().Stop();
		this.GetComponent<AudioSource>().PlayOneShot(soundData[(int)soundNumber]);
		
	}
Ejemplo n.º 2
0
 public void PlaySoundByType(QueryChanSoundType soundNumber)
 {
     this.GetComponent <AudioSource>().Stop();
     this.GetComponent <AudioSource>().PlayOneShot(soundData[(int)soundNumber]);
 }
Ejemplo n.º 3
0
 public void PlaySoundByType(QueryChanSoundType soundNumber)
 {
     this.audio.Stop();
     this.audio.PlayOneShot(soundData[(int)soundNumber]);
 }
Ejemplo n.º 4
0
	public void PlaySoundByType (QueryChanSoundType soundNumber) {

		this.audio.Stop();
		this.audio.PlayOneShot(soundData[(int)soundNumber]);
		
	}