Game UI ready

This commit is contained in:
Mausham
2025-12-15 17:49:08 -08:00
parent 0ea929bd20
commit f4c55dec05
325 changed files with 28015 additions and 360 deletions

View File

@@ -0,0 +1,26 @@
using UnityEngine;
[CreateAssetMenu(fileName ="GameSession", menuName ="Scriptable Objects/GameSession") ]
public class GameSession : 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;
}
}
public interface IGameSession
{
bool showStartScreen { get; set; }
bool hasGameStarted { get; set; }
}