// Start is called before the first frame update void Start() { ScoreText.text = RankingManager.GetScoreString(GameResult.Score); string rank = GameResult.Level.ToString(); RankingManager.SetNewScore(GameResult.Score); }
/// ******************************************************* /// <summary>ランキングスコア文字列</summary> /// ******************************************************* public string RankScoreString() { float score = Mathf.Max(CurrentScore, RankingManager.GetRankScore(0)); return(RankingManager.GetScoreString(score)); }
/// ******************************************************* /// <summary>スコア文字列</summary> /// ******************************************************* public string ScoreString() { return(RankingManager.GetScoreString(CurrentScore)); }