Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     //ファイルを読み込み
     ScoreInfo.Score.Name = "Name " + nameCount;
     ScoreInfo.Read();
     foreach (Score s in ScoreInfo.Scores)
     {
         Debug.Log(s.Name + " <=> Total :" + ScoreInfo.GetTotalScore(s));
     }
 }
Exemplo n.º 2
0
 void Awake()
 {
     if (Instance != null)
     {
         enabled = false;
         DestroyImmediate(this);
         return;
     }
     Instance = this;
     ScoreInfo.Read();
 }