Esempio n. 1
0
        private IEnumerator playJoystickAudio()
        {
            if (Sound.CurrentPlayingSound == runSpeedAudio)
            {
                while (Sound.CurrentPlayingSound.isPlaying)
                {
                    yield return(new WaitForSeconds(0.01f));
                }
            }
            Utilities.PlayAudio(Timeout.GetRepeatAudio());
            yield return(new WaitForSeconds(Timeout.GetRepeatAudio().clip.length));

            Timeout.StartTimers();
        }
Esempio n. 2
0
 protected override void DoubleClickAction()
 {
     base.DoubleClickAction();
     Utilities.PlayAudio(Timeout.GetRepeatAudio());
 }