diff --git a/Assets/Scripts/UI/UIManager.cs b/Assets/Scripts/UI/UIManager.cs index d48130b..daa46a7 100644 --- a/Assets/Scripts/UI/UIManager.cs +++ b/Assets/Scripts/UI/UIManager.cs @@ -176,7 +176,23 @@ public class UIManager : MonoBehaviour { _endPanel.SetActive(true); - // 绑定返回首页按钮 + // 绑定 BtnYes:关闭 EndPanel + var btnYes = _endPanel.transform.Find("BtnYes")?.GetComponent