Commit 45b18f28 authored by nanahira's avatar nanahira

archive version

parent 1bdf672b
...@@ -302,7 +302,7 @@ public class Program : MonoBehaviour ...@@ -302,7 +302,7 @@ public class Program : MonoBehaviour
*/ */
ANDROID_GAME_PATH = jo.Call<string>("GamePath", "/ygocore/"); ANDROID_GAME_PATH = jo.Call<string>("GamePath", "/ygocore/");
if (!File.Exists(ANDROID_GAME_PATH + "updates/version2.2.txt")) if (!File.Exists(ANDROID_GAME_PATH + "updates/version2.3.txt"))
{ {
string filePath = Application.streamingAssetsPath + "/ygopro2-data.zip"; string filePath = Application.streamingAssetsPath + "/ygopro2-data.zip";
var www = new WWW(filePath); var www = new WWW(filePath);
...@@ -337,7 +337,7 @@ public class Program : MonoBehaviour ...@@ -337,7 +337,7 @@ public class Program : MonoBehaviour
#elif UNITY_IPHONE //iPhone #elif UNITY_IPHONE //iPhone
string GamePaths = Application.persistentDataPath + "/ygopro2/"; string GamePaths = Application.persistentDataPath + "/ygopro2/";
if (!File.Exists(GamePaths + "updates/version2.2.txt")) if (!File.Exists(GamePaths + "updates/version2.3.txt"))
{ {
string filePath = Application.streamingAssetsPath + "/ygopro2-data.zip"; string filePath = Application.streamingAssetsPath + "/ygopro2-data.zip";
ExtractZipFile(System.IO.File.ReadAllBytes(filePath), GamePaths); ExtractZipFile(System.IO.File.ReadAllBytes(filePath), GamePaths);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment