public void SetIdlePauseTime(string newTime) { if (int.Parse(newTime) < 0f) { idlePauseTimeInputField.SetTextWithoutNotify(fsm.GetIdlePauseTime().ToString()); return; } fsm.SetIdlePauseTime(int.Parse(newTime)); fsm.SetIdlePauseTimer(0f); }