This commit is contained in:
2026-04-25 18:20:16 +07:00
parent 62cdf7c754
commit 034b9599f3
24 changed files with 1359 additions and 201 deletions

View File

@@ -0,0 +1,14 @@
using UnityEngine;
using UnityEngine.UIElements;
namespace UI
{
public class ProfileController : MonoBehaviour
{
private void OnEnable()
{
var root = GetComponent<UIDocument>().rootVisualElement;
root.Q<Button>("btn-close")?.RegisterCallback<ClickEvent>(ev => UIManager.Instance.ShowScreen("MainMenu"));
}
}
}