From 3fbb85b2d60ab7543aea467565d2a0b5747f9499 Mon Sep 17 00:00:00 2001 From: Alix Hamilton Date: Thu, 27 Jul 2017 11:31:18 -0700 Subject: [PATCH] final build --- Assets/Scripts/GameManager.cs | 9 +-------- Assets/Scripts/LimoGame.cs | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Assets/Scripts/GameManager.cs b/Assets/Scripts/GameManager.cs index 7bcb684..385c12a 100644 --- a/Assets/Scripts/GameManager.cs +++ b/Assets/Scripts/GameManager.cs @@ -110,14 +110,7 @@ IEnumerator ChangeTracks (AudioClip track) { music.clip = track; music.volume = maxMusicVolume; music.Play(); - //music.volume = 0f; - //audioVolume = music.volume; - - //while (music.volume < maxMusicVolume) { - // audioVolume += musicFadeSpeed; - // music.volume = audioVolume; - // yield return new WaitForSeconds(0.01f); - //} + } public void GameOver (string score, string feedback) { diff --git a/Assets/Scripts/LimoGame.cs b/Assets/Scripts/LimoGame.cs index 3999101..01cb119 100644 --- a/Assets/Scripts/LimoGame.cs +++ b/Assets/Scripts/LimoGame.cs @@ -53,7 +53,7 @@ public void Play (bool survival) { CreateLimo (fastSpawnInterval, limoDestinations[0]); } else { stopwatch.ResetTime (); - StartCoroutine(CreateMultipleLimos(slowSpawnInterval, 37f)); + StartCoroutine(CreateMultipleLimos(slowSpawnInterval, 38f)); } }