Music bux fixes
This commit is contained in:
parent
0ee8dcad77
commit
10d546a9e2
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ public class MusicStarter : MonoBehaviour
|
|||
{
|
||||
await Task.Delay(delayForSetup);
|
||||
MusicManager m = GameObject.FindWithTag("MusicManager").GetComponent<MusicManager>();
|
||||
m.StopOtherSongs();
|
||||
await Task.Delay(delayForSetup - delay);
|
||||
m.StopOtherSongs(songName);
|
||||
await Task.Delay(delay);
|
||||
m.PlaySong(songName);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue