Ejemplo n.º 1
0
 IEnumerator timeOutClipPlay()
 {
     for (int i = 0; i < 11; i++)
     {
         if (time <= 3f)
         {
             game.AudioWAV("se_timeout2");
         }
         else
         {
             game.AudioWAV("se_timeout");
         }
         if (time <= 0f)
         {
             if (player.Biu == 0)
             {
                 game.AudioWAV("se_enep01");
             }
             else
             {
                 game.AudioWAV("se_fault");
             }
         }
         yield return(new WaitForSeconds(1f));
     }
 }