質問編集履歴
1
コードの誤りの部分の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -121,42 +121,6 @@
|
|
121
121
|
Debug.Log("登録完了");
|
122
122
|
}
|
123
123
|
}
|
124
|
-
|
125
|
-
/*IEnumerator GetScore()
|
126
|
-
{
|
127
|
-
WWW result = new WWW(m_url2);
|
128
|
-
yield return result;
|
129
|
-
|
130
|
-
if (result.error == null)
|
131
|
-
{
|
132
|
-
JSONObject rdbUserGet = new JSONObject(result.text);
|
133
|
-
for (int ii = 0; ii < rdbUserGet.Count; ii++)
|
134
|
-
{
|
135
|
-
JSONObject jsonPos = rdbUserGet[ii];
|
136
|
-
JSONObject jsonName = jsonPos.GetField("name");
|
137
|
-
JSONObject jsonScore = jsonPos.GetField("score");
|
138
|
-
string name = jsonName.str;
|
139
|
-
string score = jsonScore.str;
|
140
|
-
Debug.Log("名前:" + name + "スコア:" + score);
|
141
|
-
}
|
142
|
-
}
|
143
|
-
else
|
144
|
-
{
|
145
|
-
string error = result.error;
|
146
|
-
Debug.LogError("www Error:" + result.error);
|
147
|
-
}
|
148
|
-
}*/
|
149
|
-
|
150
|
-
/*public byte[] readingPngFiles(string path)
|
151
|
-
{
|
152
|
-
using (FileStream fileStream = new FileStream(path, FileMode.Open, FileAccess.Read))
|
153
|
-
{
|
154
|
-
BinaryReader bin = new BinaryReader(fileStream);
|
155
|
-
byte[] values = bin.ReadBytes((int)bin.BaseStream.Length);
|
156
|
-
bin.Close();
|
157
|
-
return values;
|
158
|
-
}
|
159
|
-
}*/
|
160
124
|
}
|
161
125
|
```
|
162
126
|
```ここに言語を入力
|