public void Break() { Weapon.OnBeat(false, Combo); Combo = 0; ComboScale.Set(Combo); MusicVolume.Set(0.1f); }
public void Pause() { if (!Paused) { MusicVolume.Set(0f); Music.Pause(); Paused = true; Visibility.Set(0f); } }
public void Beat() { Combo++; ComboScale.Set(Combo); BeatScale = new InterpolatedFloat(1f, 0.25f); BeatScale.Set(0f); Weapon.OnBeat(true, Combo); MusicVolume.Set(0.1f + Utils.Clamp(Combo, 0, 10) * 0.09f); }