/**************************************************************************** * 2023.11 DESKTOP-DL7CJI0 ****************************************************************************/ using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using QFramework; namespace QFramework { public partial class PracticeResult : UIElement { private void Awake() { TipsCloseBtn.onClick.AddListener(ParticeEnd); //ConfirmBtn.onClick.AddListener(OnConfirmBtnClick); //CancleBtn.onClick.AddListener(() => gameObject.SetActive(false)); } protected override void OnBeforeDestroy() { } private void ParticeEnd() { Application.Quit(); } private void OnConfirmBtnClick() { gameObject.SetActive(false); //UIKit.OpenPanel(UILevel.PopUI,new PC_PranticeResultPanelData() { pranticeProcessElementsData = PranticeManagerForPC.instance.m_PranticeProcessElements }); // 数据提交 //UpLoadPracticeLevel(ResourcesManager.Instance.m_DeviceProxy.GetTierBasedOnDeviceName(GlobalConfig.m_SelectDevice)); } } }