UI upd
This commit is contained in:
1 parent
0f0c8bab43
commit
b7527d8d68
40 files changed
+2636
-795
No files matched your search
@@ -6,6 +6,7 @@ namespace Code.Infrastructure.SceneLoader
|
||||
public enum SceneId
|
||||
{
|
||||
MainMenu,
|
||||
Gameplay
|
||||
Gameplay,
|
||||
SoundTest
|
||||
}
|
||||
}
|
||||
@@ -38,10 +38,16 @@ namespace Code.Infrastructure.SceneLoader
|
||||
public async UniTaskVoid LoadSceneAsync(SceneId id, LoadSceneMode loadMode)
|
||||
{
|
||||
await Addressables.LoadSceneAsync(_sceneInfos[id].SceneAsset, loadMode);
|
||||
|
||||
|
||||
_scenesActions[id]();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public async UniTaskVoid UnloadSceneAsync(SceneId id)
|
||||
{
|
||||
// TODO НЕВОЗМОЖНО ВЫГРУЗИТЬ БЛЯДСКИЕ СЦЕНЫ
|
||||
// await Addressables.UnloadSceneAsync(_sceneInfos[])
|
||||
}
|
||||
|
||||
private AsyncOperationHandle<IList<SceneInfoConfig>> _configHandle;
|
||||
|
||||
private async UniTaskVoid LoadConfigs(string configReferences)
|
||||
|
||||
Reference in new issue
Block a user