Update basic sample

pull/51/head
hevinci 2022-10-18 10:19:40 +08:00
parent c449a070b4
commit fdacd5f3f8
2 changed files with 3 additions and 2 deletions

View File

@ -111,7 +111,7 @@ public class BootScene : MonoBehaviour
{ {
public bool QueryStreamingAssets(string fileName) public bool QueryStreamingAssets(string fileName)
{ {
return BetterStreamingAssets.FileExists($"YooAssets/{fileName}"); return BetterStreamingAssets.FileExists($"{YooAssets.GetStreamingAssetBuildinFolderName()}/{fileName}");
} }
} }
} }

View File

@ -15,7 +15,8 @@ MonoBehaviour:
BuildPipeline: 0 BuildPipeline: 0
BuildMode: 1 BuildMode: 1
BuildPackage: DefaultPackage BuildPackage: DefaultPackage
BuildTags: buildin;
CompressOption: 2 CompressOption: 2
OutputNameStyle: 1 OutputNameStyle: 1
CopyBuildinFileOption: 1
CopyBuildinFileTags:
EncyptionClassName: EncryptionNone EncyptionClassName: EncryptionNone