using UnityEngine; using UnityEngine.UI; using QFramework; namespace QFramework.Example { public class UIImageTipData : UIPanelData { } public partial class UIImageTip : UIPanel { protected override void OnInit(IUIData uiData = null) { mData = uiData as UIImageTipData ?? new UIImageTipData(); // please add init code here } protected override void OnOpen(IUIData uiData = null) { } protected override void OnShow() { } protected override void OnHide() { } protected override void OnClose() { } } }