private void OnNewMeasure(MusicState state) { if (state == MusicState.Drop) { dropCounter++; } if (dropCounter >= dropLength) { Debug.Log("Ending the drop now after " + dropCounter + " measures. So sad."); NewMeasureEvent -= OnNewMeasure; dropCounter = 0; dropLength = 8; audioManager.EndDrop(); } }