diff --git a/Assets/Src/GameLogic/GameMgr.cs b/Assets/Src/GameLogic/GameMgr.cs index 79bfc5f3b..3289c6df6 100644 --- a/Assets/Src/GameLogic/GameMgr.cs +++ b/Assets/Src/GameLogic/GameMgr.cs @@ -2,7 +2,7 @@ using System.Collections; using LuaInterface; using System.Collections.Generic; - +using System.IO; public class GameMgr : SingletonMono { @@ -200,6 +200,8 @@ public class GameMgr : SingletonMono //启用日志 StartLog(); + Directory.CreateDirectory(FileSystem.LocalDocumentPath); + //读取Apk设置文件 //yield return StartCoroutine(ReadVersionFile()); //InitData();