예제 #1
0
    // 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);
    }
예제 #2
0
    /// *******************************************************
    /// <summary>ランキングスコア文字列</summary>
    /// *******************************************************
    public string RankScoreString()
    {
        float score = Mathf.Max(CurrentScore, RankingManager.GetRankScore(0));

        return(RankingManager.GetScoreString(score));
    }
예제 #3
0
 /// *******************************************************
 /// <summary>スコア文字列</summary>
 /// *******************************************************
 public string ScoreString()
 {
     return(RankingManager.GetScoreString(CurrentScore));
 }