fix popup item menu and refactor ui system

This commit is contained in:
Vova
2023-12-11 16:16:18 +02:00
parent bf088009f6
commit e7f082a774
14 changed files with 131 additions and 63 deletions
+5
View File
@@ -4,6 +4,9 @@ public class GameManager : MonoBehaviour
{
[SerializeField]
private CameraSystem _cameraSystem;
[SerializeField]
private UISystem _uiSystem;
private bool _isPause;
private InputSystem _inputSystem;
@@ -14,6 +17,8 @@ public class GameManager : MonoBehaviour
public InputSystem Input => _inputSystem;
public SceneManager Scene => _sceneManager;
public TimeSystem Time => _timeSystem;
public UISystem UI => _uiSystem;
public static GameManager Instance { get; private set; }
private void Awake()