Exemplo n.º 1
0
        private static void SetBell(LocoAudioDiesel audio, SoundSet soundSet)
        {
            var audioSource = audio.transform.Find("Horn/ZSounds bell").GetComponent <AudioSource>();

            AudioUtils.Apply(TrainCarType.LocoDiesel, SoundType.Bell, soundSet[SoundType.Bell], audioSource);
        }