【Bug】加载蓝图
parent
5c459447f5
commit
651870f891
|
@ -268,10 +268,10 @@ namespace Framework.Manager
|
||||||
}
|
}
|
||||||
|
|
||||||
var buildData = await JsonHelper.LoadFromAddressable<BuildData>(buildConfig.BuildData);
|
var buildData = await JsonHelper.LoadFromAddressable<BuildData>(buildConfig.BuildData);
|
||||||
|
|
||||||
await Init(buildData, true);
|
await Init(buildData, true);
|
||||||
await Addressables.LoadSceneAsync(buildConfig.Path).ToUniTask();
|
await Addressables.LoadSceneAsync(buildConfig.Path).ToUniTask();
|
||||||
|
InitBlueprint();
|
||||||
if (lastBuildID is { Complete: true } && !_curBuildInfo.Complete)
|
if (lastBuildID is { Complete: true } && !_curBuildInfo.Complete)
|
||||||
{
|
{
|
||||||
_userBuildInfo.CurBuildId = buildConfigId;
|
_userBuildInfo.CurBuildId = buildConfigId;
|
||||||
|
@ -306,7 +306,6 @@ namespace Framework.Manager
|
||||||
InitUserBuildInfo();
|
InitUserBuildInfo();
|
||||||
InitCondition();
|
InitCondition();
|
||||||
await InitIcon();
|
await InitIcon();
|
||||||
InitBlueprint();
|
|
||||||
|
|
||||||
|
|
||||||
if (inGame)
|
if (inGame)
|
||||||
|
|
Loading…
Reference in New Issue