Further improvements to AudioSource.time (Conductor.cs)

This commit is contained in:
Starpelly
2021-12-27 21:36:27 -05:00
parent ff6bce2806
commit 75965927d6
17 changed files with 472 additions and 44 deletions

View File

@ -31,6 +31,7 @@ namespace RhythmHeavenMania
Coroutine currentGameSwitchIE;
public string currentGame;
public float startBeat;
private void Awake()
{
@ -55,7 +56,12 @@ namespace RhythmHeavenMania
StartCoroutine(Begin());
SetCurrentGame(eventCaller.GamesHolder.transform.GetComponentsInChildren<Transform>()[1].name);
// SetCurrentGame(eventCaller.GamesHolder.transform.GetComponentsInChildren<Transform>()[1].name);
if (Beatmap.entities.Count >= 1)
{
SetCurrentGame(Beatmap.entities[0].datamodel.Split('/')[0]);
}
}
private IEnumerator Begin()