コード例 #1
0
 private void UpdateScore(OnUserError info)
 {
     StartCoroutine(DisplayNewScore());
 }
コード例 #2
0
 /// <summary>
 /// Set the current score if the user make a mistake
 /// </summary>
 private void SetCurrentScore(OnUserError _)
 {
     CurrentScore = Mathf.Clamp(CurrentScore - 10, 0, CurrentScore);
 }