mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-14 19:40:47 +00:00
Update basic sample
This commit is contained in:
@@ -108,6 +108,7 @@ public class BootScene : MonoBehaviour
|
||||
{
|
||||
public bool QueryStreamingAssets(string fileName)
|
||||
{
|
||||
// 注意:使用了BetterStreamingAssets插件,使用前需要初始化该插件!
|
||||
string buildinFolderName = YooAssets.GetStreamingAssetBuildinFolderName();
|
||||
return BetterStreamingAssets.FileExists($"{buildinFolderName}/{fileName}");
|
||||
}
|
||||
|
||||
@@ -30,7 +30,6 @@ internal class FsmUpdateStaticVersion : IFsmNode
|
||||
|
||||
if (operation.Status == EOperationStatus.Succeed)
|
||||
{
|
||||
Debug.Log($"Found static version : {operation.PackageVersion}");
|
||||
PatchUpdater.PackageVersion = operation.PackageVersion;
|
||||
FsmManager.Transition(nameof(FsmUpdateManifest));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user