Added MainMenu, Bootstrap and Factory scenes

This commit is contained in:
2026-08-04 18:04:42 +03:00
parent bca1cbb323
commit a259a64e80
43 changed files with 1991 additions and 10 deletions
@@ -0,0 +1,11 @@
using System;
using UnityEngine;
public enum GamePhase { Menu, Loading, Playing, Results }
public sealed class GameFlowController : MonoBehaviour
{
public GamePhase Phase { get; private set; } = GamePhase.Menu;
public event Action<GamePhase> PhaseChanged;
public void SetPhase(GamePhase phase) { if (Phase == phase) return; Phase = phase; PhaseChanged?.Invoke(Phase); }
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: a459064651fdcad4bb7e73452bef583f