Commit 2f8c55e6 authored by Unicorn369's avatar Unicorn369

fix

parent 6781d4e0
......@@ -149,7 +149,7 @@ public class Menu : WindowServantSP
jo.Call("doExtractZipFile", "closeup_version1.1.zip", Program.ANDROID_GAME_PATH);
} else if (File.Exists("updates/closeup_version1.0.txt")){//如果有则下载更新包
jo.Call("doDownloadZipFile", "https://github.com/Unicorn369/pro2_android_closeup/releases/download/1.0/up_closeup_version1.1.zip");
} else {//否则下载并解压,锁定目录:/ygopro2
} else {//否则下载并解压,锁定目录:ANDROID_GAME_PATH
jo.Call("doDownloadZipFile", "https://github.com/Unicorn369/pro2_android_closeup/releases/download/1.0/closeup_version1.1.zip");
}
} else {
......
......@@ -274,7 +274,7 @@ public class Program : MonoBehaviour
public static float verticleScale = 5f;
//YGOMobile Paths (https://github.com/Unicorn369/YGOPro2_Droid)
//YGOMobile Paths (https://github.com/Unicorn369/YGOPro2_Droid/tree/Android)
public static string ANDROID_GAME_PATH = "/storage/emulated/0/ygopro2/";
#if UNITY_EDITOR || UNITY_STANDALONE_WIN //编译器、Windows
......
......@@ -619,6 +619,11 @@ public class GameTextureManager
file.Read(data, 0, (int)file.Length);
}
pic.data = data;
if (!loadedList.ContainsKey(hashPic(pic.code, pic.type)))
{
loadedList.Add(hashPic(pic.code, pic.type), pic);
}
}
}
else
......
......@@ -123,7 +123,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 1.034.8 (Test 2.2)
bundleVersion: 1.034.8 (Test 2.2.1)
preloadedAssets: []
metroInputSource: 0
m_HolographicPauseOnTrackingLoss: 1
......
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