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){