diff --git a/meng_yao/Assets/script/A_Fight/Challeng_Evictory/Challeng_Evictory.cs b/meng_yao/Assets/script/A_Fight/Challeng_Evictory/Challeng_Evictory.cs index 42c2da6df..eb071ebb0 100644 --- a/meng_yao/Assets/script/A_Fight/Challeng_Evictory/Challeng_Evictory.cs +++ b/meng_yao/Assets/script/A_Fight/Challeng_Evictory/Challeng_Evictory.cs @@ -2,17 +2,23 @@ using UnityEngine; using UnityEngine.UI; using DG.Tweening; using System.Threading.Tasks; +using UnityEngine.SceneManagement; public class Challeng_Evictory : Base { public GameObject Victory; public GameObject failur; + public Button retrunBTN; + private void Awake() { Victory.SetActive(false); failur.SetActive(false); + retrunBTN.onClick.AddListener(() => { + SceneManager.LoadScene(1); + }); }