private void _buttonPress(int button_id) { Debug.Log("PRESSED BUTTON: " + button_id); // don't allow filling out surveys, when form is not present // only really possible from debugging if (!sh.survey.activeSelf) { return; } if (cool_down) { return; } bool more = false; try { more = sh.AnswerQuestion(button_id); } catch (Exception e) { more = false; } if (!more) { sh.Reset(); sh.CloseSurvey(); SurveyDone.Invoke(); } else { try { sh.UpdateCanvas(); } catch (RoundDone e) { sh.Reset(); sh.CloseSurvey(); SurveyDone.Invoke(); } } StartCoroutine(LiftCoolDown()); }