update space shooter

pull/134/head
hevinci 2023-07-19 17:06:35 +08:00
parent b737b20602
commit aee6e2d2f8
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}");