少年修仙传客户端代码仓库
3335 在编辑器环境下使用下载资源的方式,把builtin资源拷贝到streamingassets目录下。
1个文件已修改
8 ■■■■ 已修改文件
Core/GameEngine/Login/Launch.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Login/Launch.cs
@@ -284,7 +284,13 @@
            }
        }
#endif
#if UNITY_EDITOR
            if (!AssetSource.allFromEditor)
            {
                FileExtersion.DirectoryCopy(ResourcesPath.CONFIG_FODLER, ResourcesPath.Instance.StreamingAssetPath + "config");
                FileExtersion.DirectoryCopy(ResourcesPath.ResourcesOutPath + "/BuiltIn", ResourcesPath.Instance.StreamingAssetPath + "builtin");
            }
#endif
            if (!firstLaunch)
            {
                done = true;