Files
HelixJump/Assets/DarkMatter/Code/Core/Data/GameSessionSO.cs
2025-12-16 18:12:45 -08:00

26 lines
616 B
C#

using Darkmatter.Core;
using UnityEngine;
namespace Darkmatter.Core
{
[CreateAssetMenu(fileName = "GameSessionSO", menuName = "Scriptable Objects/GameSessionSO")]
public class GameSessionSO : ScriptableObject, IGameSession
{
public bool showStartScreen { get; set; } = false;
public bool hasGameStarted { get; set; } = false;
private void OnEnable()
{
showStartScreen = true;
hasGameStarted = false;
}
private void OnDisable()
{
showStartScreen = false;
hasGameStarted = false;
}
}
}