mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-17 13:20:20 +00:00
update space shooter
This commit is contained in:
@@ -8,6 +8,11 @@ using YooAsset;
|
||||
/// </summary>
|
||||
public class GameQueryServices : IQueryServices
|
||||
{
|
||||
public string QueryDeliveryFiles(string packageName, string fileName)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public bool QueryStreamingAssets(string packageName, string fileName)
|
||||
{
|
||||
// 注意:fileName包含文件格式
|
||||
|
||||
@@ -11,6 +11,11 @@ using YooAsset;
|
||||
/// </summary>
|
||||
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}");
|
||||
|
||||
Reference in New Issue
Block a user