VirtualFramework/Assets/Scripts/UI/UIInput_AnHuiBaoShi.cs

38 lines
770 B
C#
Raw Normal View History

2025-02-06 17:23:24 +08:00
using UnityEngine;
using UnityEngine.UI;
using QFramework;
namespace QFramework.Example
{
public class UIInput_AnHuiBaoShiData : UIPanelData
{
}
public partial class UIInput_AnHuiBaoShi : UIPanel
{
protected override void OnInit(IUIData uiData = null)
{
mData = uiData as UIInput_AnHuiBaoShiData ?? new UIInput_AnHuiBaoShiData();
// please add init code here
}
protected override void OnOpen(IUIData uiData = null)
{
var max = VarController.Instance.Get("Max");
var min = VarController.Instance.Get("Min");
}
protected override void OnShow()
{
}
protected override void OnHide()
{
StringEventSystem.Global.Send("InputUIʹ<49>ý<EFBFBD><C3BD><EFBFBD>");
}
protected override void OnClose()
{
}
}
}