public void PlaySoundByType (QueryChanSoundType soundNumber) {

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

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