This commit is contained in:
YangHua 2023-11-23 10:07:37 +08:00
parent 2beab906eb
commit c66adcaadc
3 changed files with 2 additions and 18 deletions

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: d174948813452c644abed14232cddd9a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 2867c644cac2f7b488d4acbc11bd2ea4
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -52,7 +52,7 @@ public class GameManager : MonoSingleton<GameManager>
//0 red 1 blue
if (UIBootstrap.Instance.GetRoleByIDPracticeId(GlobalFlag.practiceSeatId) == "0")
{
spt.GetComponent<Camera>().cullingMask = ~(1 << 11);
spt.GetComponent<Camera>().cullingMask = ~(1 << 12);
if (UIBootstrap.Instance.GetDeviceByName("蜂群无人机").device_count > 0)
{
@ -66,7 +66,7 @@ public class GameManager : MonoSingleton<GameManager>
}
else
{
spt.GetComponent<Camera>().cullingMask = ~(1 << 12);
spt.GetComponent<Camera>().cullingMask = ~(1 << 11);
if (UIBootstrap.Instance.GetDeviceByName("探测雷达").device_count > 0)
{
for (int i = 0; i < UIBootstrap.Instance.GetDeviceByName("探测雷达").device_count; i++)