Сделан сервис UI и заготовки панелек

This commit is contained in:
ThomasCharester committed 2025-10-29 16:01:18 +03:00
1 parent 6f2b063700
commit ae76edb0d0
161 files changed
+70228 -6

No files matched your search

@@ -3,6 +3,8 @@ using Code.Gameplay.Camera;
using Code.Input;
using Code.Scenes;
using Code.StateMachine;
using Code.UI;
using UnityEngine;
namespace Code.App.AppStates
{
@@ -18,11 +20,15 @@ namespace Code.App.AppStates
Context.SceneLoaderService.LoadScene((int)SceneIds.MovementDev, SceneLoaded);
Context.InputService.EnableMap(ActionMappings.Gameplay);
Context.UIService.LoadingScreen.Show();
Context.UIService.SwitchPanelTo(UIPanel.Gameplay);
Context.CameraStateMachine.SwitchState(CameraMode.FirstPerson);
}
private void SceneLoaded()
{
Context.UIService.LoadingScreen.Hide();
base.EnterState();
}