/// <summary> /// 数値型スコアの送信とランキング表示を行います /// </summary> /// <param name="score"></param> /// <param name="boardId"></param> public void SendScoreAndShowRanking(double score, int boardId = 0) { var board = RankingBoards.GetRankingInfo(boardId); var sc = new NumberScore(score, board.CustomFormat); SendScoreAndShowRanking(sc, board); }
/// <summary> /// ランキング表示を行います /// </summary> public void ShowRanking(int boardId = 0) { var board = RankingBoards.GetRankingInfo(boardId); var score = new NumberScore(0, board.CustomFormat); CurrentRanking = board; LastScore = score; SceneManager.LoadScene("RankingOnly", LoadSceneMode.Additive); }