From db54568253d77b3538f19380f39db43d51a75ea4 Mon Sep 17 00:00:00 2001 From: hevinci Date: Thu, 20 Jul 2023 11:08:52 +0800 Subject: [PATCH] update space shooter --- .../StreamingAssetsHelper/StreamingAssetsHelper.cs | 9 +++++++-- .../StreamingAssetsHelper/StreamingAssetsHelper2.cs | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper.cs b/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper.cs index f263093..f188455 100644 --- a/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper.cs +++ b/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper.cs @@ -8,9 +8,14 @@ using YooAsset; /// public class GameQueryServices : IQueryServices { - public string QueryDeliveryFiles(string packageName, string fileName) + public DeliveryFileInfo GetDeliveryFileInfo(string packageName, string fileName) { - return null; + throw new System.NotImplementedException(); + } + + public bool QueryDeliveryFiles(string packageName, string fileName) + { + return false; } public bool QueryStreamingAssets(string packageName, string fileName) diff --git a/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper2.cs b/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper2.cs index b137ea7..66eaadf 100644 --- a/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper2.cs +++ b/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/StreamingAssetsHelper2.cs @@ -11,9 +11,14 @@ using YooAsset; /// public class GameQueryServices2 : IQueryServices { - public string QueryDeliveryFiles(string packageName, string fileName) + public DeliveryFileInfo GetDeliveryFileInfo(string packageName, string fileName) { - return null; + throw new System.NotImplementedException(); + } + + public bool QueryDeliveryFiles(string packageName, string fileName) + { + return false; } public bool QueryStreamingAssets(string packageName, string fileName)