LoginSignup
2

More than 3 years have passed since last update.

【unity】ニフクラを使って無料でランキング機能を実装する方法

Last updated at Posted at 2020-05-27

この記事をみてできること

※無料で
(1)ゲームにログインを機能をつける
(2)ランキング機能をつける
例:ゲームでキャンペーンをする際に、ある一定期間の中で順位を把握したい際に
メールアドレスやIDでアカウントを紐づけることができる

必要なもの

・PC
・Unity
・Visual Studio

やりかた

以下の記事を順番にやっていく。

(1)クイックスタート
https://mbaas.nifcloud.com/doc/current/introduction/quickstart_unity.html
(2)ログイン機能実装
https://mbaas.nifcloud.com/doc/current/tutorial/unity_login.html
(3)ハイスコアをサーバーに保存
https://mbaas.nifcloud.com/doc/current/tutorial/unity_highscore.html
(4)ハイスコアランキングをつくる
https://mbaas.nifcloud.com/doc/current/tutorial/unity_leaderboard.html

その他参考になった記事

(上記のURLはすべてこちらのチュートリアルの続きです。私は開発するにあたりチュートリアルをやっていなかったので、下記URLのソースを見ながら改修をおこないました。)

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2