mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:07:38 +02:00
Karate man combos
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user