示例#1
0
 public void PlaySoundByType(QueryChanSDSoundType soundNumber)
 {
     this.GetComponent<AudioSource>().Stop();
     this.GetComponent<AudioSource>().PlayOneShot(soundData[(int)soundNumber]);
 }
示例#2
0
 public void PlaySoundByType(QueryChanSDSoundType soundNumber)
 {
     this.GetComponent <AudioSource>().Stop();
     this.GetComponent <AudioSource>().PlayOneShot(soundData[(int)soundNumber]);
 }