public void PlaySoundByType (QueryChanSoundType soundNumber) { this.GetComponent<AudioSource>().Stop(); this.GetComponent<AudioSource>().PlayOneShot(soundData[(int)soundNumber]); }
public void PlaySoundByType(QueryChanSoundType soundNumber) { this.GetComponent <AudioSource>().Stop(); this.GetComponent <AudioSource>().PlayOneShot(soundData[(int)soundNumber]); }
public void PlaySoundByType(QueryChanSoundType soundNumber) { this.audio.Stop(); this.audio.PlayOneShot(soundData[(int)soundNumber]); }
public void PlaySoundByType (QueryChanSoundType soundNumber) { this.audio.Stop(); this.audio.PlayOneShot(soundData[(int)soundNumber]); }