Compare commits
No commits in common. "2ad772f4b217acb26425625ead81f5f2ac497378" and "cc5f8fee51b13fca33fe876792e3410f6da62c93" have entirely different histories.
2ad772f4b2
...
cc5f8fee51
@ -325,7 +325,6 @@ public class AllHouseContro : MonoBehaviour
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//击杀刷新房间蛋
|
//击杀刷新房间蛋
|
||||||
//checkOutAllTheEscapeRoomsAsync();
|
//checkOutAllTheEscapeRoomsAsync();
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@ using System.Collections;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using static UnityEngine.UIElements.UxmlAttributeDescription;
|
|
||||||
|
|
||||||
public class Allother : MonoBehaviour
|
public class Allother : MonoBehaviour
|
||||||
{
|
{
|
||||||
@ -13,7 +12,6 @@ public class Allother : MonoBehaviour
|
|||||||
public AllHouseContro allHouseContro;
|
public AllHouseContro allHouseContro;
|
||||||
|
|
||||||
public List<GameObject> JiaWoniu;//场下留下的假蜗牛
|
public List<GameObject> JiaWoniu;//场下留下的假蜗牛
|
||||||
public Transform ReTurnPos;//返回点
|
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
@ -36,9 +34,6 @@ public class Allother : MonoBehaviour
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public void Reflash()//假蜗牛随机
|
public void Reflash()//假蜗牛随机
|
||||||
{
|
{
|
||||||
foreach (GameObject go in JiaWoniu)
|
foreach (GameObject go in JiaWoniu)
|
||||||
@ -66,26 +61,6 @@ public class Allother : MonoBehaviour
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//清空指定房间蜗牛
|
|
||||||
public void KilltheWoniu(int killNo)
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
for (int i=0;i<allHouseContro.HouseBtnList.Count;i++)
|
|
||||||
{
|
|
||||||
if (allHouseContro.HouseBtnList[i].roomNo==killNo)
|
|
||||||
{
|
|
||||||
for (int j = 0; j< allHouseContro.HouseBtnList[i].otherWonius.Count; j++)
|
|
||||||
{
|
|
||||||
Destroy(allHouseContro.HouseBtnList[i].otherWonius[i].gameObject);
|
|
||||||
}
|
|
||||||
allHouseContro.HouseBtnList[i].otherWonius.Clear();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public void CreateWoniu()
|
public void CreateWoniu()
|
||||||
{
|
{
|
||||||
foreach (HouseBtn house in allHouseContro.HouseBtnList)
|
foreach (HouseBtn house in allHouseContro.HouseBtnList)
|
||||||
|
Loading…
Reference in New Issue
Block a user