protected void PlaySoundEffect() { AudioSource audioSource = GetComponent <AudioSource>(); var soundEffect = config.GetRandomSoundClip(); audioSource.PlayOneShot(soundEffect); }