12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using UnityEngine;
- using UnityEngine.UI;
- using QFramework;
- using UnityEditor;
- namespace QFramework
- {
- public class PranticePromptPanelData : UIPanelData
- {
- }
- public partial class PranticePromptPanel : UIPanel
- {
- protected override void ProcessMsg(int eventId, QMsg msg)
- {
- throw new System.NotImplementedException();
- }
-
- protected override void OnInit(IUIData uiData = null)
- {
- mData = uiData as PranticePromptPanelData ?? new PranticePromptPanelData();
- // please add init code here
- ReselectionBtn.onClick.AddListener(() => { CloseSelf(); });
- OpenPrompt.onClick.AddListener(() =>
- {
- OperateSetting.Instance.ToolPackUILogic.SetHint(true);
- CloseSelf();
- });
- }
-
- protected override void OnOpen(IUIData uiData = null)
- {
- if (UIKit.GetPanel<ChallengeResultPanel>()) CloseSelf();
- }
-
- protected override void OnShow()
- {
- }
-
- protected override void OnHide()
- {
- }
-
- protected override void OnClose()
- {
- }
- }
- }
|