diff --git a/TheStrongestSnail/Assets/Scripts/Battle_Royale/AllHouseContro.cs b/TheStrongestSnail/Assets/Scripts/Battle_Royale/AllHouseContro.cs index f887416..45440cc 100644 --- a/TheStrongestSnail/Assets/Scripts/Battle_Royale/AllHouseContro.cs +++ b/TheStrongestSnail/Assets/Scripts/Battle_Royale/AllHouseContro.cs @@ -325,6 +325,7 @@ public class AllHouseContro : MonoBehaviour } } + //击杀刷新房间蛋 //checkOutAllTheEscapeRoomsAsync(); diff --git a/TheStrongestSnail/Assets/Scripts/Battle_Royale/Allother.cs b/TheStrongestSnail/Assets/Scripts/Battle_Royale/Allother.cs index 87fb6ea..e2211e4 100644 --- a/TheStrongestSnail/Assets/Scripts/Battle_Royale/Allother.cs +++ b/TheStrongestSnail/Assets/Scripts/Battle_Royale/Allother.cs @@ -2,6 +2,7 @@ using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using UnityEngine; +using static UnityEngine.UIElements.UxmlAttributeDescription; public class Allother : MonoBehaviour { @@ -12,6 +13,7 @@ public class Allother : MonoBehaviour public AllHouseContro allHouseContro; public List JiaWoniu;//场下留下的假蜗牛 + public Transform ReTurnPos;//返回点 // Start is called before the first frame update void Start() { @@ -34,6 +36,9 @@ public class Allother : MonoBehaviour // } // } + + + public void Reflash()//假蜗牛随机 { foreach (GameObject go in JiaWoniu) @@ -61,6 +66,26 @@ public class Allother : MonoBehaviour } + //清空指定房间蜗牛 + public void KilltheWoniu(int killNo) + { + + + for (int i=0;i