17 lines
391 B
C#
17 lines
391 B
C#
using UnityEngine;
|
|
using UnityEngine.AddressableAssets;
|
|
|
|
namespace DDD
|
|
{
|
|
public class GameState : ScriptSingleton<GameState>
|
|
{
|
|
[SerializeField] private AssetReference _gameLevelState;
|
|
|
|
public GameLevelState LevelState { get; private set; }
|
|
|
|
private void OnEnable()
|
|
{
|
|
LevelState = CreateInstance<GameLevelState>();
|
|
}
|
|
}
|
|
} |