From c8f594faf8c62d3d779c6bdc8004f66bb6321a74 Mon Sep 17 00:00:00 2001 From: GL <2365963573@qq.com> Date: Sat, 16 Nov 2024 02:24:44 +0800 Subject: [PATCH] add --- .../Assets/Scripts/Battle_Royale/AllHouseContro.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TheStrongestSnail/Assets/Scripts/Battle_Royale/AllHouseContro.cs b/TheStrongestSnail/Assets/Scripts/Battle_Royale/AllHouseContro.cs index a30c228..d35c737 100644 --- a/TheStrongestSnail/Assets/Scripts/Battle_Royale/AllHouseContro.cs +++ b/TheStrongestSnail/Assets/Scripts/Battle_Royale/AllHouseContro.cs @@ -63,6 +63,7 @@ public class AllHouseContro : MonoBehaviour } is_jisha_jiesuan = false; is_jisha = false; + } public bool is_jisha = false; public bool is_jisha_jiesuan = false; @@ -88,6 +89,7 @@ public class AllHouseContro : MonoBehaviour battleRoyaleGameDetails(); } else if (serverResponse.data.carrySeconds < 45){ + ControAllDoorOpen(); text.GetComponentInChildren().text = (60 - serverResponse.data.carrySeconds).ToString(); detailsText.GetComponentInChildren().text = "秒后霸主出现"; await Task.Delay(1000); @@ -97,6 +99,7 @@ public class AllHouseContro : MonoBehaviour } else if (serverResponse.data.carrySeconds > 45 && serverResponse.data.carrySeconds < 50) { + ControAllDoorClose();//关门 text.GetComponentInChildren().text = ""; detailsText.GetComponentInChildren().text = "霸主出现了"; if (!is_jisha){