Files
tcg-client/Assets/TcgEngine/Scripts/Menu/UIFrame.cs
2025-09-12 11:39:17 +08:00

30 lines
538 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace TcgEngine.UI
{
public class UIFrame : UIPanel
{
public Button uiFrameHideButton;
protected override void Awake()
{
base.Awake();
Hide();
}
protected override void Start()
{
uiFrameHideButton.onClick.AddListener(OnUiFrameHide);
}
private void OnUiFrameHide()
{
Hide();
}
}
}