/**************************************************************************** * 2023.10 DESKTOP-DL7CJI0 ****************************************************************************/ using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using QFramework; namespace QFramework { public partial class SubmitResult : UIElement { private void Awake() { ConfirmBtn.onClick.AddListener(() => { gameObject.SetActive(false); ExamManagerForPC.instance.ExamFinish(); UIKit.GetPanel().BlackImg.gameObject.SetActive(true); }); CancelBtn.onClick.AddListener(() => { gameObject.SetActive(false); UIKit.GetPanel().BlackImg.gameObject.SetActive(false); }); } protected override void OnBeforeDestroy() { } } }