Commit fe32362d authored by nanahira's avatar nanahira

download assets at background

parent ee2c5cda
...@@ -5,6 +5,7 @@ using System; ...@@ -5,6 +5,7 @@ using System;
using System.Linq; using System.Linq;
using ICSharpCode.SharpZipLib.Core; using ICSharpCode.SharpZipLib.Core;
using ICSharpCode.SharpZipLib.Zip; using ICSharpCode.SharpZipLib.Zip;
using System.Threading;
public class Program : MonoBehaviour public class Program : MonoBehaviour
{ {
...@@ -356,7 +357,7 @@ public class Program : MonoBehaviour ...@@ -356,7 +357,7 @@ public class Program : MonoBehaviour
}); });
go(300, () => go(300, () =>
{ {
UpdateClient(); //UpdateClient();
InterString.initialize("config/translation.conf"); InterString.initialize("config/translation.conf");
GameTextureManager.initialize(); GameTextureManager.initialize();
Config.initialize("config/config.conf"); Config.initialize("config/config.conf");
...@@ -372,6 +373,7 @@ public class Program : MonoBehaviour ...@@ -372,6 +373,7 @@ public class Program : MonoBehaviour
{ {
YGOSharp.BanlistManager.initialize("cdb/lflist.conf"); YGOSharp.BanlistManager.initialize("cdb/lflist.conf");
} }
(new Thread(()=>{UpdateClient();})).Start();
if (File.Exists("strings.conf")) if (File.Exists("strings.conf"))
{ {
GameStringManager.initialize("strings.conf");//YGOMobile Paths GameStringManager.initialize("strings.conf");//YGOMobile Paths
......
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