主界面UI修改

This commit is contained in:
YiHan0621
2025-08-18 17:40:47 +08:00
parent b22177be11
commit f93c384e3e
57 changed files with 6959 additions and 117 deletions

View File

@@ -39,17 +39,21 @@ namespace TcgEngine.UI
button.onClick.AddListener(OnClick);
if (active && ui_panel != null)
{
ui_panel.Show();
}
}
void Update()
{
if (highlight != null)
highlight.SetActive(active);
// if (highlight != null)
// highlight.SetActive(active);
}
private void OnClick()
{
Debug.Log("点击了Tab: " + gameObject.name);
Activate();
onClick?.Invoke();
onClickAny?.Invoke(this);