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

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