private void BreakManager() { if (isBreak) { if (!isEndBreak) { if (breakCurrentBeat < breakBeatNbr - 1) { breakCurrentBeat++; } else { breakCurrentBeat = 1; isEndBreak = true; } if (breakCurrentBeat == 2) { //End the combo started at previous phases Scr_Equipement.instance.EndComboBonus(); //Check if the sequence of note played sduring the phase match the one required for the combos controller.CheckChainForCombo(); } songAudioSource.spatialBlend = breakSpatialBlend; } else { EndBreak(); } } else { endBreakText.gameObject.SetActive(false); } }