mirror of https://github.com/tuyoogame/YooAsset
update space shooter
parent
86ef93caa3
commit
b151f968d7
|
@ -44,9 +44,9 @@ internal class FsmInitializePackage : IStateNode
|
|||
InitializationOperation initializationOperation = null;
|
||||
if (playMode == EPlayMode.EditorSimulateMode)
|
||||
{
|
||||
string simulateManifestFilePath = EditorSimulateModeHelper.SimulateBuild(buildPipeline, packageName);
|
||||
var simulateBuildResult = EditorSimulateModeHelper.SimulateBuild(buildPipeline, packageName);
|
||||
var createParameters = new EditorSimulateModeParameters();
|
||||
createParameters.EditorFileSystemParameters = FileSystemParameters.CreateDefaultEditorFileSystemParameters(simulateManifestFilePath);
|
||||
createParameters.EditorFileSystemParameters = FileSystemParameters.CreateDefaultEditorFileSystemParameters(simulateBuildResult);
|
||||
initializationOperation = package.InitializeAsync(createParameters);
|
||||
}
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@ internal class FsmUpdatePackageVersion : IStateNode
|
|||
}
|
||||
else
|
||||
{
|
||||
Debug.Log($"Request package version : {operation.PackageVersion}");
|
||||
_machine.SetBlackboardValue("PackageVersion", operation.PackageVersion);
|
||||
_machine.ChangeState<FsmUpdatePackageManifest>();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue