void EditTextScoreSecond(string newScoreSecond) { int intNewScoreSecond; if (int.TryParse(newScoreSecond, out intNewScoreSecond)) { if (intNewScoreSecond < Constants.MinSecondScore) { _inputScoreSecond.text = Constants.MinSecondScore.ToString(); _fc.EditSecondScore(Constants.MinSecondScore); return; } _fc.EditSecondScore(intNewScoreSecond); return; } }