void onAlarmLevelIncreased(float newValue) { StopAllCoroutines(); StartCoroutine(increaseSlider(newValue)); blinkAnimation.PlayAnimation(); bellShake.PlayAnimation(); }
void onAlarmLevelIncrease(float value) { changeUIState(true); blinkAnimation.PlayAnimation(); StartCoroutine(hideUIAfterTime()); }