From 8f07e6c5d625b95bce0f1de509230dd0e3d9f03c Mon Sep 17 00:00:00 2001
From: YangHua <1475658476@qq.com>
Date: Fri, 19 Jan 2024 15:24:19 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4debug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../GameAssets/Prefebs/Models/moder/无人机List.prefab | 2 +-
Assets/Temp/Scripts/Microwaveweapon.cs | 4 ++--
Assets/Zion/Scripts/Adam/DeviceManager.cs | 10 +++++-----
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/Assets/GameAssets/Prefebs/Models/moder/无人机List.prefab b/Assets/GameAssets/Prefebs/Models/moder/无人机List.prefab
index 249c5627..2909c1d1 100644
--- a/Assets/GameAssets/Prefebs/Models/moder/无人机List.prefab
+++ b/Assets/GameAssets/Prefebs/Models/moder/无人机List.prefab
@@ -381,7 +381,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
- m_IsActive: 1
+ m_IsActive: 0
--- !u!4 &8245684177115831463
Transform:
m_ObjectHideFlags: 0
diff --git a/Assets/Temp/Scripts/Microwaveweapon.cs b/Assets/Temp/Scripts/Microwaveweapon.cs
index 388e3268..81da8e35 100644
--- a/Assets/Temp/Scripts/Microwaveweapon.cs
+++ b/Assets/Temp/Scripts/Microwaveweapon.cs
@@ -140,7 +140,7 @@ public class Microwaveweapon : MonoBehaviour
while (true)
{
yield return new WaitForSeconds(microwtimer);
- Debug.LogError("攻击了");
+ //Debug.LogError("攻击了");
//if (microwtimer>0&&miceopos!=null)
if (miceopos!=null)
{
@@ -157,7 +157,7 @@ public class Microwaveweapon : MonoBehaviour
///
protected string Getmicdata()
{
- Debug.Log("上传位置");
+ //Debug.Log("上传位置");
return string.Format("{0},{1},{2},{3},{4}","Micow", equipment.deviceID, miceopos.transform.position.x,miceopos.transform.position.y,miceopos.transform.position.z);
}
diff --git a/Assets/Zion/Scripts/Adam/DeviceManager.cs b/Assets/Zion/Scripts/Adam/DeviceManager.cs
index fd597318..2ec5d17f 100644
--- a/Assets/Zion/Scripts/Adam/DeviceManager.cs
+++ b/Assets/Zion/Scripts/Adam/DeviceManager.cs
@@ -125,12 +125,12 @@ public class DeviceManager : MonoSingleton
public void GetSend2roomMsg(string data)
{
data = data.Replace("send2room", "");
- Debug.LogError("设备..:" + data);
+ //Debug.LogError("设备..:" + data);
string[] info = data.Split(',');
- foreach (string s in info)
- {
- Debug.LogError(s);
- }
+ //foreach (string s in info)
+ //{
+ // Debug.LogError(s);
+ //}
if (info.Length < 2) return;
EquipmentCommon equipmentCommon = devices.Find(x => x.deviceID == info[1]);