示例#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));
 }