IEnumerator ScoreRunning() { morphScore.morphEaseout(Score, 30.0f); while (!morphScore.IsFinish()) { morphScore.Update(); int val = (int)morphScore.val; string scTxt = val.ToString("#,##0"); scoreText.text = scTxt; yield return(null); } }
IEnumerator ScoreRunning() { morphScore.morphEaseout(Score, 30.0f); while (!morphScore.IsFinish()) { morphScore.Update(); int val = (int)morphScore.val; string scTxt = val.ToString("#,##0"); scoreText.text = scTxt; yield return(null); } }