squash commits

This commit is contained in:
2025-01-07 18:54:46 +02:00
parent 855639487b
commit 62c0a21987
3632 changed files with 708443 additions and 999 deletions
+17 -1
View File
@@ -8,7 +8,7 @@ public class GameManager : MonoBehaviour
private UISystem _uiSystem;
private bool _isPause;
private bool _isPause = true;
private InputSystem _inputSystem;
private SceneManager _sceneManager;
private TimeSystem _timeSystem;
@@ -38,7 +38,22 @@ public class GameManager : MonoBehaviour
_timeSystem = new TimeSystem();
_gameMouseHandler = new InGameMouseHandler(_cameraSystem.MainCamera);
}
CreateCharacter();
}
public void CreateCharacter()
{
UI.enabled = false;
}
public void StartGame()
{
Resume();
UI.enabled = true;
_cameraSystem.StartGame();
Instance.Scene.Change("City");
}
private void OnEnable()
{
Instance._inputSystem?.Enable();
@@ -59,6 +74,7 @@ public class GameManager : MonoBehaviour
Instance._isPause = false;
}
private void Update()
{
if (!Instance._isPause)