update space shooter

mlyDevMerge1.5.7
hevinci 2023-07-19 17:06:35 +08:00 committed by QiJing
parent 9d9db75b32
commit a0c25c6197
2 changed files with 10 additions and 0 deletions

View File

@ -8,6 +8,11 @@ using YooAsset;
/// </summary> /// </summary>
public class GameQueryServices : IQueryServices public class GameQueryServices : IQueryServices
{ {
public string QueryDeliveryFiles(string packageName, string fileName)
{
return null;
}
public bool QueryStreamingAssets(string packageName, string fileName) public bool QueryStreamingAssets(string packageName, string fileName)
{ {
// 注意fileName包含文件格式 // 注意fileName包含文件格式

View File

@ -11,6 +11,11 @@ using YooAsset;
/// </summary> /// </summary>
public class GameQueryServices2 : IQueryServices public class GameQueryServices2 : IQueryServices
{ {
public string QueryDeliveryFiles(string packageName, string fileName)
{
return null;
}
public bool QueryStreamingAssets(string packageName, string fileName) public bool QueryStreamingAssets(string packageName, string fileName)
{ {
return StreamingAssetsHelper2.FileExists($"{StreamingAssetsDefine.RootFolderName}/{packageName}/{fileName}"); return StreamingAssetsHelper2.FileExists($"{StreamingAssetsDefine.RootFolderName}/{packageName}/{fileName}");