unityで起こった問題とその解決方法を記していくページ
通りすがりの心優しい知識人(貴方様)が直してくれたりもっといい方法を教えてくれるという優しい世界。
unityでデータベース使いたい
ニフティモバイルバックエンドサービスを使うとすごく簡単に使い始められる
http://mb.cloud.nifty.com/
通称:mBaas かっこいいw
uuid発行方法
この世界ではuuidはGuidなんだね。
Guid guid=System.Guid.NewGuid();
FYI uuidについて
自端末(ローカル)にデータ保存したい
PlayerPrefs使う。StringとかIntとかならMap調に保存できる
たとえばハイスコア保存するとき
String HighScoreKey = "highScore";
int score = 20;
//set
PlayerPrefs.SetInt (HighScoreKey, score);
//get 第二引数は取得できなかったときに返す値
PlayerPrefs.GetInt (HighScoreKey, 0);
かんたん
not contain a definition のエラー、だいたいメソッド小文字説
<<クラス名>> does not contain a definition for <<メソッド名>>
and no extension method <<メソッド名>> of type <<クラス名>> could be found.
Are you missing an assembly reference?
ほんとにメソッドが存在しないか、メソッド名が間違っている。javaコーダーにありがちなのがメソッド小文字だと思いこんでるやつ。