ProjectDDD/Assets/_DDD/_Scripts/GameState/GameState.cs

14 lines
363 B
C#
Raw Normal View History

namespace DDD
{
2025-08-19 04:51:42 +00:00
public class GameState : ScriptSingleton<GameState>
{
public GameLevelState LevelState { get; private set; }
2025-08-21 07:25:27 +00:00
public UiState UiState { get; private set; }
2025-08-19 03:12:10 +00:00
private void OnEnable()
{
2025-08-19 03:12:10 +00:00
LevelState = CreateInstance<GameLevelState>();
2025-08-21 07:25:27 +00:00
UiState = CreateInstance<UiState>();
}
}
}