PracticeResult.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /****************************************************************************
  2. * 2023.11 DESKTOP-DL7CJI0
  3. ****************************************************************************/
  4. using System;
  5. using System.Collections.Generic;
  6. using UnityEngine;
  7. using UnityEngine.UI;
  8. using QFramework;
  9. namespace QFramework
  10. {
  11. public partial class PracticeResult : UIElement
  12. {
  13. private void Awake()
  14. {
  15. TipsCloseBtn.onClick.AddListener(ParticeEnd);
  16. //ConfirmBtn.onClick.AddListener(OnConfirmBtnClick);
  17. //CancleBtn.onClick.AddListener(() => gameObject.SetActive(false));
  18. }
  19. protected override void OnBeforeDestroy()
  20. {
  21. }
  22. private void ParticeEnd()
  23. {
  24. Application.Quit();
  25. }
  26. private void OnConfirmBtnClick()
  27. {
  28. gameObject.SetActive(false);
  29. //UIKit.OpenPanel<PC_PranticeResultPanel>(UILevel.PopUI,new PC_PranticeResultPanelData() { pranticeProcessElementsData = PranticeManagerForPC.instance.m_PranticeProcessElements });
  30. // 数据提交
  31. //UpLoadPracticeLevel(ResourcesManager.Instance.m_DeviceProxy.GetTierBasedOnDeviceName(GlobalConfig.m_SelectDevice));
  32. }
  33. }
  34. }