From aee6e2d2f88c7467ac54c5e9d868c409beeef587 Mon Sep 17 00:00:00 2001 From: hevinci Date: Wed, 19 Jul 2023 17:06:35 +0800 Subject: [PATCH] update space shooter --- .../StreamingAssetsHelper/StreamingAssetsHelper.cs | 5 +++++ .../StreamingAssetsHelper/StreamingAssetsHelper2.cs | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper.cs b/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper.cs index 623cb9f..f263093 100644 --- a/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper.cs +++ b/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper.cs @@ -8,6 +8,11 @@ using YooAsset; /// public class GameQueryServices : IQueryServices { + public string QueryDeliveryFiles(string packageName, string fileName) + { + return null; + } + public bool QueryStreamingAssets(string packageName, string fileName) { // 注意:fileName包含文件格式 diff --git a/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper2.cs b/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper2.cs index 16173b3..b137ea7 100644 --- a/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper2.cs +++ b/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper2.cs @@ -11,6 +11,11 @@ using YooAsset; /// public class GameQueryServices2 : IQueryServices { + public string QueryDeliveryFiles(string packageName, string fileName) + { + return null; + } + public bool QueryStreamingAssets(string packageName, string fileName) { return StreamingAssetsHelper2.FileExists($"{StreamingAssetsDefine.RootFolderName}/{packageName}/{fileName}");