mirror of https://github.com/tuyoogame/YooAsset
update space shooter
parent
b737b20602
commit
aee6e2d2f8
|
@ -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}");
|
||||
|
|
Loading…
Reference in New Issue