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ʹÓýáÊø"); } protected override void OnClose() { } } }