From 0e62083e800674603eff9ceb3575a9c5e585ac5e Mon Sep 17 00:00:00 2001 From: YangHua <1475658476@qq.com> Date: Mon, 29 Jan 2024 11:47:44 +0800 Subject: [PATCH] ewew --- Assets/Zion/Scripts/Adam/GameManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Zion/Scripts/Adam/GameManager.cs b/Assets/Zion/Scripts/Adam/GameManager.cs index 7538f02c..a22e76b0 100644 --- a/Assets/Zion/Scripts/Adam/GameManager.cs +++ b/Assets/Zion/Scripts/Adam/GameManager.cs @@ -77,7 +77,7 @@ public class GameManager : MonoSingleton spt.transform.position = redSpawnPos.position; spt.transform.eulerAngles = redSpawnPos.eulerAngles; spt.gameObject.SetActive(true); - spt.GetComponent().cullingMask = ~(1 << 12); + spt.GetComponent().cullingMask = ~(1 << 12) + ~(1 << 16) + ~(1 << 17) + ~(1 << 18) + ~(1 << 19) + ~(1 << 20) + ~(1 << 21) + ~(1 << 22); //spt.GetComponent().cullingMask = ~(1 << 15); AdamThinkDevicesData.DataItem diTemp = UIBootstrap.Instance.GetDeviceByName("蜂群无人机"); if (diTemp.device_count > 0) @@ -107,7 +107,7 @@ public class GameManager : MonoSingleton spt.transform.position = blueSpawnPos.position; spt.transform.eulerAngles = blueSpawnPos.eulerAngles; spt.gameObject.SetActive(true); - spt.GetComponent().cullingMask = ~(1 << 11); + spt.GetComponent().cullingMask = ~(1 << 11) + ~(1 << 16) + ~(1 << 17) + ~(1 << 18) + ~(1 << 19) + ~(1 << 20) + ~(1 << 21) + ~(1 << 22); if (UIBootstrap.Instance.GetDeviceByName("探测雷达").device_count > 0) { for (int i = 0; i < UIBootstrap.Instance.GetDeviceByName("探测雷达").device_count; i++)