using UnityEngine; using UnityEngine.AddressableAssets; namespace DDD { public class GameState : ScriptableObject { [SerializeField] private AssetReference _gameLevelState; public GameLevelState LevelState { get; private set; } private void OnEnable() { LevelState = CreateInstance(); } } }