ui基本完毕,修了一大把的bug
This commit is contained in:
@@ -91,9 +91,13 @@ public static class DlcPackageArchiveService
|
||||
AppendIfValid(result, Path.Combine(Application.persistentDataPath, RuntimeFolderName, PackageFolderName));
|
||||
AppendIfValid(result, Path.Combine(Application.persistentDataPath, RuntimeFolderName));
|
||||
|
||||
#if !UNITY_ANDROID
|
||||
// 项目外(可执行文件同级目录)的 DLC 扫描仅在 PC 端有意义;
|
||||
// 安卓无此目录概念,Application.dataPath 指向 APK,跳过以避免无效/异常路径。
|
||||
string playerRoot = GetPlayerRootDirectory();
|
||||
AppendIfValid(result, Path.Combine(playerRoot, RuntimeFolderName, PackageFolderName));
|
||||
AppendIfValid(result, Path.Combine(playerRoot, RuntimeFolderName));
|
||||
#endif
|
||||
|
||||
return result.ToArray();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user