Karate man combos

This commit is contained in:
Braedon
2022-01-19 20:48:52 -05:00
parent 9d67d26fda
commit 2c917d6fc7
44 changed files with 9074 additions and 289 deletions

View File

@ -40,12 +40,10 @@ namespace RhythmHeavenMania.Util
{
audioSource.Pause();
pauseTimes = 1;
print("paused");
}
else if (Conductor.instance.isPlaying && !Conductor.instance.isPaused && pauseTimes == 1)
{
audioSource.Play();
print("played");
pauseTimes = 0;
}
@ -57,6 +55,11 @@ namespace RhythmHeavenMania.Util
{
Destroy(this.gameObject);
}
if (Conductor.instance.songPosition < startTime)
{
Destroy(this.gameObject);
}
}
}