This commit is contained in:
2026-04-26 04:39:59 +07:00
parent fdb2460c3b
commit 5b22d31259
81 changed files with 14099 additions and 277 deletions

View File

@@ -8,7 +8,7 @@ namespace UI
private void OnEnable()
{
var root = GetComponent<UIDocument>().rootVisualElement;
root.Q<Button>("btn-close")?.RegisterCallback<ClickEvent>(ev => UIManager.Instance.ShowScreen("MainMenu"));
root.Q<Button>("btn-close")?.RegisterCallback<ClickEvent>(ev => UIManager.Instance.GoBack());
}
}
}