Implemented How To Play Pop up on start

This commit is contained in:
Max 2025-03-06 12:12:13 +01:00
parent 5fd3e5bc73
commit c103ffb339
20 changed files with 558 additions and 24 deletions

View file

@ -0,0 +1,26 @@
using System;
using UnityEngine;
namespace DungeonSelection
{
public class UIManager : MonoBehaviour
{
[SerializeField] private GameObject rulesPageGO;
private void OnEnable()
{
UIEvents.ShowRules += ShowRules;
}
private void OnDisable()
{
UIEvents.ShowRules -= ShowRules;
}
private void ShowRules()
{
rulesPageGO.SetActive(true);
}
}
}